Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.613/1.613, allocations: 297.8 MB / 313.7 MB, free: 148 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.001009/0.001009, allocations: 184.5 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.346/1.346, allocations: 223.2 MB / 0.6626 GB, free: 4.352 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.0007574/0.0007575, allocations: 94.91 kB / 0.7808 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003948, allocations: 16 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5939/0.5943, allocations: 120.3 MB / 1.026 GB, free: 55.98 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.7671, allocations: 141.3 MB / 1.164 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.7674, allocations: 69.89 kB / 1.164 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004902/0.7723, allocations: 1.798 MB / 1.166 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7724, allocations: 0 / 1.166 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.7724, allocations: 4.938 kB / 1.166 GB, free: 0.8047 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003049/0.7727, allocations: 370.2 kB / 1.166 GB, free: 404 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.7727, allocations: 8.031 kB / 1.167 GB, free: 396 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.7728, allocations: 11.47 kB / 1.167 GB, free: 388 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.353e-05/0.7729, allocations: 163 kB / 1.167 GB, free: 188 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.7729, allocations: 5.031 kB / 1.167 GB, free: 184 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.7729, allocations: 9.359 kB / 1.167 GB, free: 176 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.7731, allocations: 33.45 kB / 1.167 GB, free: 140 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.7731, allocations: 4.188 kB / 1.167 GB, free: 136 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.7731, allocations: 5.094 kB / 1.167 GB, free: 132 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.7731, allocations: 2.594 kB / 1.167 GB, free: 132 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.7731, allocations: 12.55 kB / 1.167 GB, free: 120 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.7736, allocations: 278.6 kB / 1.167 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.546e-05/0.7737, allocations: 30.73 kB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.7737, allocations: 5.422 kB / 1.167 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.7738, allocations: 1.594 kB / 1.167 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.774, allocations: 63.16 kB / 1.167 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.774, allocations: 0.5 kB / 1.167 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002212/0.7742, allocations: 67.36 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.7743, allocations: 52.16 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.7744, allocations: 106.5 kB / 1.167 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.7744, allocations: 27.48 kB / 1.167 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.7745, allocations: 89.64 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.7745, allocations: 9.016 kB / 1.167 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/0.7745, allocations: 4 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.7747, allocations: 317 kB / 1.168 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.7748, allocations: 33.33 kB / 1.168 GB, free: 15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-05/0.7749, allocations: 48.78 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.775, allocations: 77.78 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7751, allocations: 3.938 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002646/0.7753, allocations: 144.8 kB / 1.168 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.7754, allocations: 31.52 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.7754, allocations: 4.516 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.7754, allocations: 1.906 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.049e-05/0.7755, allocations: 10.73 kB / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.7755, allocations: 1.75 kB / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.7757, allocations: 42.25 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.7757, allocations: 6.859 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001026/0.7758, allocations: 114.4 kB / 1.168 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.7758, allocations: 10.86 kB / 1.168 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.7759, allocations: 8.516 kB / 1.168 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.7759, allocations: 0 / 1.168 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7759, allocations: 0.6875 kB / 1.168 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7759, allocations: 0.6562 kB / 1.168 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.776, allocations: 164.5 kB / 1.168 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7761, allocations: 0 / 1.168 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-06/0.7761, allocations: 1.641 kB / 1.168 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.7761, allocations: 2.031 kB / 1.168 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.7761, allocations: 0 / 1.168 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7761, allocations: 0.75 kB / 1.168 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7761, allocations: 5.219 kB / 1.168 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.7762, allocations: 83.69 kB / 1.169 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.7763, allocations: 79.72 kB / 1.169 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.7763, allocations: 5.641 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/0.7764, allocations: 0.6094 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.7764, allocations: 1.594 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.7764, allocations: 4 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.7765, allocations: 87.38 kB / 1.169 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7765, allocations: 1.75 kB / 1.169 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002332/0.7767, allocations: 21.2 kB / 1.169 GB, free: 14 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001931/0.7769, allocations: 111.1 kB / 1.169 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.7772, allocations: 121.1 kB / 1.169 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7772, allocations: 3.938 kB / 1.169 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.7772, allocations: 13.78 kB / 1.169 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.7775, allocations: 12.55 kB / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.7778, allocations: 129.8 kB / 1.169 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.7781, allocations: 0.6805 MB / 1.17 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.332e-05/0.7782, allocations: 1.969 kB / 1.17 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.7782, allocations: 11.95 kB / 1.17 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of SimCode: time 1.643e-06/0.7782, allocations: 0 / 1.17 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.003756/0.7819, allocations: 1.003 MB / 1.171 GB, free: 12.33 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)