Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.617/1.617, allocations: 297.8 MB / 313.7 MB, free: 172 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 179 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007307/0.0007309, allocations: 96.05 kB / 0.7808 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004364, allocations: 13.88 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5935/0.594, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.7601, allocations: 141.3 MB / 1.164 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.7604, allocations: 72.88 kB / 1.164 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01225/0.7727, allocations: 4.083 MB / 1.168 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7727, allocations: 2.562 kB / 1.168 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.7727, allocations: 0 / 1.168 GB, free: 15.26 MB / 0.7448 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.0006043/0.7733, allocations: 465 kB / 1.169 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.7734, allocations: 8.031 kB / 1.169 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.7735, allocations: 13.45 kB / 1.169 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.7736, allocations: 180.7 kB / 1.169 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.7737, allocations: 13.39 kB / 1.169 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.7738, allocations: 15.8 kB / 1.169 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.7739, allocations: 59.81 kB / 1.169 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.7739, allocations: 192 / 1.169 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.774, allocations: 5.531 kB / 1.169 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.774, allocations: 3.938 kB / 1.169 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.627e-05/0.774, allocations: 24.11 kB / 1.169 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006884/0.7747, allocations: 419 kB / 1.17 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.293e-05/0.7748, allocations: 29.48 kB / 1.17 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.7748, allocations: 18.12 kB / 1.17 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.7749, allocations: 5.219 kB / 1.17 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.7751, allocations: 103.3 kB / 1.17 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.875e-06/0.7751, allocations: 1.641 kB / 1.17 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003275/0.7754, allocations: 137.4 kB / 1.17 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.7755, allocations: 52.19 kB / 1.17 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.7756, allocations: 135.3 kB / 1.17 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.7757, allocations: 34.22 kB / 1.17 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.7758, allocations: 98.62 kB / 1.17 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.7758, allocations: 21.88 kB / 1.17 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.7758, allocations: 8.656 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.776, allocations: 329.4 kB / 1.17 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.7762, allocations: 85.73 kB / 1.171 GB, free: 13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.7764, allocations: 134.4 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.7767, allocations: 237.1 kB / 1.171 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7767, allocations: 0 / 1.171 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005992/0.7773, allocations: 371.7 kB / 1.171 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.98e-05/0.7774, allocations: 102.1 kB / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7774, allocations: 1.734 kB / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.7775, allocations: 4.656 kB / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.658e-05/0.7775, allocations: 8.547 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.7775, allocations: 0.75 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.778, allocations: 112.1 kB / 1.171 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.778, allocations: 16.22 kB / 1.172 GB, free: 12.02 MB / 0.7448 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.7782, allocations: 139.4 kB / 1.172 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.7782, allocations: 8.562 kB / 1.172 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.7782, allocations: 15.52 kB / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7782, allocations: 0 / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7783, allocations: 1.562 kB / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7783, allocations: 0.5625 kB / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.7785, allocations: 191.3 kB / 1.172 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.7785, allocations: 0.6562 kB / 1.172 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.7785, allocations: 8.688 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7785, allocations: 0 / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.7785, allocations: 9.078 kB / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7785, allocations: 2.031 kB / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7785, allocations: 0.7969 kB / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.7787, allocations: 134.8 kB / 1.172 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.7788, allocations: 87.64 kB / 1.172 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.7788, allocations: 5.312 kB / 1.172 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.26e-05/0.7788, allocations: 0.6094 kB / 1.172 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.7789, allocations: 11.61 kB / 1.172 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.7789, allocations: 6.641 kB / 1.172 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.707e-05/0.779, allocations: 101.4 kB / 1.172 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.779, allocations: 1.406 kB / 1.172 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003026/0.7793, allocations: 44.84 kB / 1.172 GB, free: 11.23 MB / 0.7448 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,and1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001895/0.7795, allocations: 127.3 kB / 1.172 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.78, allocations: 361.5 kB / 1.173 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.78, allocations: 0 / 1.173 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.147e-05/0.78, allocations: 43.83 kB / 1.173 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.7803, allocations: 27.61 kB / 1.173 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.7807, allocations: 205.5 kB / 1.173 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.781, allocations: 0.6969 MB / 1.174 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.364e-05/0.7811, allocations: 14.41 kB / 1.174 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.7811, allocations: 15.95 kB / 1.174 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/0.7811, allocations: 0 / 1.174 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of Templates: time 0.006428/0.7876, allocations: 2.436 MB / 1.176 GB, free: 8.199 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)