Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 104.4 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.931/1.931, allocations: 292.3 MB / 0.5495 GB, free: 17.42 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 75.89 kB / 0.6722 GB, free: 6.469 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3015, allocations: 114.6 MB / 0.7841 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002234/0.3038, allocations: 0.7012 MB / 0.7848 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.3057, allocations: 1.265 MB / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.3057, allocations: 0 / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.851e-05/0.3058, allocations: 3.938 kB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.541e-05/0.3059, allocations: 15.86 kB / 0.786 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009131/0.3068, allocations: 307.3 kB / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.3072, allocations: 275.6 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3073, allocations: 16.19 kB / 0.7866 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3075, allocations: 103.8 kB / 0.7867 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.3076, allocations: 91.73 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.121e-05/0.3077, allocations: 20 kB / 0.7868 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3078, allocations: 35.98 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.3079, allocations: 19.92 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.308, allocations: 91.67 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.3083, allocations: 219.7 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3083, allocations: 0 / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3083, allocations: 4 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.3084, allocations: 0 / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006879/0.3091, allocations: 0.4886 MB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3091, allocations: 8.031 kB / 0.7877 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.3092, allocations: 20.83 kB / 0.7877 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3892/0.6984, allocations: 164.3 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.6985, allocations: 6.531 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.943e-05/0.6986, allocations: 14.97 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.6987, allocations: 58.52 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.6987, allocations: 1.219 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.6988, allocations: 5.109 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.6988, allocations: 2.469 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.796e-05/0.6988, allocations: 21.12 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.6993, allocations: 418.8 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.064e-05/0.6994, allocations: 36.55 kB / 0.7884 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.6994, allocations: 19.28 kB / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.6994, allocations: 3.938 kB / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.6996, allocations: 104.3 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.943e-06/0.6996, allocations: 1.938 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002737/0.6999, allocations: 133.9 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.6999, allocations: 54.28 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.18e-05/0.7, allocations: 135.5 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.7, allocations: 35.08 kB / 0.7888 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.7001, allocations: 100.6 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.7001, allocations: 26.78 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.7002, allocations: 64.56 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.7003, allocations: 320.7 kB / 0.7893 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.7005, allocations: 94.98 kB / 0.7894 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.7006, allocations: 129.5 kB / 0.7895 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.7008, allocations: 239 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7009, allocations: 2.688 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000474/0.7013, allocations: 379.2 kB / 0.7901 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.7014, allocations: 98.7 kB / 0.7902 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.7014, allocations: 2.625 kB / 0.7902 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.7014, allocations: 2.25 kB / 0.7902 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.563e-05/0.7015, allocations: 5.047 kB / 0.7902 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.7015, allocations: 4.141 kB / 0.7902 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.7019, allocations: 80.44 kB / 0.7903 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.702, allocations: 16.3 kB / 0.7903 GB, free: 47.25 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.42e-05/0.7021, allocations: 133.4 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.7021, allocations: 17.75 kB / 0.7905 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.7021, allocations: 10.62 kB / 0.7905 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7021, allocations: 2.625 kB / 0.7905 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7021, allocations: 0.9375 kB / 0.7905 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7021, allocations: 3.234 kB / 0.7905 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.234e-05/0.7022, allocations: 187.8 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7023, allocations: 3.5 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.7023, allocations: 4.562 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7023, allocations: 7.312 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.7023, allocations: 2.625 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7023, allocations: 0.625 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.7023, allocations: 2.625 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.7024, allocations: 136 kB / 0.7908 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.7025, allocations: 83.64 kB / 0.7909 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.7025, allocations: 7.281 kB / 0.7909 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.7025, allocations: 0 / 0.7909 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.7026, allocations: 13.19 kB / 0.7909 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.7026, allocations: 6.75 kB / 0.7909 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.7026, allocations: 106.7 kB / 0.791 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7026, allocations: 0 / 0.791 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002535/0.7029, allocations: 51.38 kB / 0.7911 GB, free: 46.69 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001414/0.703, allocations: 105 kB / 0.7912 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.7034, allocations: 366.3 kB / 0.7915 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7034, allocations: 5.094 kB / 0.7915 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.482e-05/0.7035, allocations: 38.97 kB / 0.7916 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.7038, allocations: 26.12 kB / 0.7916 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.7041, allocations: 189.2 kB / 0.7918 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.7042, allocations: 0.6953 MB / 0.7925 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.908e-05/0.7043, allocations: 8.359 kB / 0.7925 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.7043, allocations: 15.53 kB / 0.7925 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7043, allocations: 0 / 0.7925 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.004854/0.7091, allocations: 2.62 MB / 0.795 GB, free: 45.46 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)