Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.557/1.557, allocations: 297.8 MB / 313.8 MB, free: 124 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.001589/0.00159, allocations: 186.2 kB / 384.6 MB, free: 10.86 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.362/1.362, allocations: 223.2 MB / 0.6626 GB, free: 4.254 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.00083/0.00083, allocations: 95.55 kB / 0.7808 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004146, allocations: 13.91 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5984/0.5988, allocations: 120.3 MB / 1.026 GB, free: 55.81 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.7626, allocations: 140.8 MB / 1.164 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001666/0.7628, allocations: 69.55 kB / 1.164 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003121/0.7659, allocations: 1.407 MB / 1.165 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.227e-06/0.7659, allocations: 1.328 kB / 1.165 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.7659, allocations: 4 kB / 1.165 GB, free: 1.375 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000331/0.7663, allocations: 377.5 kB / 1.166 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.7663, allocations: 9.766 kB / 1.166 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.7663, allocations: 3.281 kB / 1.166 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.967e-05/0.7664, allocations: 172.1 kB / 1.166 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.7664, allocations: 1.078 kB / 1.166 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.7665, allocations: 4.375 kB / 1.166 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.7667, allocations: 82.03 kB / 1.166 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7667, allocations: 6.312 kB / 1.166 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.7667, allocations: 3.938 kB / 1.166 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.7667, allocations: 0 / 1.166 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.767, allocations: 88.31 kB / 1.166 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.7674, allocations: 297.8 kB / 1.166 GB, free: 312 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.7676, allocations: 70.06 kB / 1.166 GB, free: 244 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.7677, allocations: 52.81 kB / 1.166 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.7677, allocations: 6.516 kB / 1.166 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.053e-05/0.7677, allocations: 31.22 kB / 1.166 GB, free: 160 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.7677, allocations: 4 kB / 1.166 GB, free: 156 kB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004719/0.7682, allocations: 161.4 kB / 1.167 GB, free: 24 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.7683, allocations: 53.69 kB / 1.167 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.7684, allocations: 109.6 kB / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.7684, allocations: 29.7 kB / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.7684, allocations: 88.34 kB / 1.167 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.7685, allocations: 8.75 kB / 1.167 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.7685, allocations: 0 / 1.167 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7686, allocations: 316.9 kB / 1.167 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.7687, allocations: 48.52 kB / 1.167 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.7689, allocations: 43.8 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.7691, allocations: 91.41 kB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7691, allocations: 7.938 kB / 1.167 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003101/0.7695, allocations: 126.5 kB / 1.167 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7695, allocations: 5.172 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.7695, allocations: 0 / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.7695, allocations: 0 / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.7696, allocations: 22.75 kB / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.7697, allocations: 0 / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.7697, allocations: 24.91 kB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.7698, allocations: 0 / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 6.927e-05/0.7698, allocations: 118.5 kB / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.7699, allocations: 4 kB / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.7699, allocations: 5.266 kB / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7699, allocations: 0 / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7699, allocations: 1.312 kB / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.7699, allocations: 0.6562 kB / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.7701, allocations: 175.8 kB / 1.168 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7701, allocations: 4.516 kB / 1.168 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.7702, allocations: 23.45 kB / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7702, allocations: 0.6094 kB / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.7702, allocations: 0 / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.7702, allocations: 0 / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7702, allocations: 4.562 kB / 1.168 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.7706, allocations: 230.3 kB / 1.168 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.7706, allocations: 77.81 kB / 1.168 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.7707, allocations: 0 / 1.168 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.7708, allocations: 16.97 kB / 1.168 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.7708, allocations: 6.297 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.7708, allocations: 5.453 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.7709, allocations: 82.09 kB / 1.168 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7709, allocations: 4 kB / 1.168 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001937/0.7711, allocations: 12 kB / 1.168 GB, free: 14.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000116/0.7712, allocations: 101.1 kB / 1.168 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.7715, allocations: 88.62 kB / 1.168 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7715, allocations: 0 / 1.168 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.7717, allocations: 57.77 kB / 1.168 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.7719, allocations: 9.719 kB / 1.168 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.7722, allocations: 129.7 kB / 1.169 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.7725, allocations: 0.6818 MB / 1.169 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.807e-05/0.7725, allocations: 4.797 kB / 1.169 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.7725, allocations: 11.44 kB / 1.169 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.7725, allocations: 0 / 1.169 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of Templates: time 0.002203/0.7747, allocations: 0.5745 MB / 1.17 GB, free: 12.91 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)