Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.899/1.899, allocations: 293 MB / 309 MB, free: 4.773 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 181.5 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 0.6383 GB, free: 8.219 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 88.98 kB / 0.7527 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004299, allocations: 15.98 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2578, allocations: 116.4 MB / 0.9905 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7181/0.9759, allocations: 138.6 MB / 1.126 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.9763, allocations: 62.59 kB / 1.126 GB, free: 35 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002035/0.9783, allocations: 0.8059 MB / 1.127 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.188e-06/0.9783, allocations: 0 / 1.127 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.9784, allocations: 3.938 kB / 1.127 GB, free: 34.36 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.0003811/0.9788, allocations: 373.7 kB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.9788, allocations: 8.031 kB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.9789, allocations: 5.5 kB / 1.127 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.979, allocations: 172.2 kB / 1.127 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.979, allocations: 10.91 kB / 1.127 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.9791, allocations: 0.9375 kB / 1.127 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.9793, allocations: 80.66 kB / 1.127 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.9793, allocations: 192 / 1.127 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.9793, allocations: 4.453 kB / 1.127 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.9793, allocations: 4 kB / 1.127 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.9796, allocations: 88.77 kB / 1.127 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.9801, allocations: 301.9 kB / 1.128 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.9803, allocations: 69.77 kB / 1.128 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.9804, allocations: 51.89 kB / 1.128 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.9804, allocations: 3.516 kB / 1.128 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.9805, allocations: 34.56 kB / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.9805, allocations: 0 / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005136/0.981, allocations: 166.9 kB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.981, allocations: 51.41 kB / 1.128 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.9811, allocations: 109.4 kB / 1.128 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.9811, allocations: 25.7 kB / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.9812, allocations: 87.66 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.9812, allocations: 7.516 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.9812, allocations: 8 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.9813, allocations: 314.2 kB / 1.129 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.9814, allocations: 43.17 kB / 1.129 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.9815, allocations: 44.05 kB / 1.129 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.9818, allocations: 94.28 kB / 1.129 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9818, allocations: 7.312 kB / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000278/0.9821, allocations: 119 kB / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.9821, allocations: 7.375 kB / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.9821, allocations: 0 / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.9822, allocations: 2.391 kB / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.9823, allocations: 19.47 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.9823, allocations: 4 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.9824, allocations: 22.98 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.9824, allocations: 0 / 1.129 GB, free: 32.07 MB / 0.7292 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.069e-05/0.9825, allocations: 121.7 kB / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.9825, allocations: 0.5625 kB / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.9825, allocations: 11.91 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.9825, allocations: 0.5 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.9825, allocations: 4 kB / 1.129 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.9826, allocations: 0 / 1.129 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.9827, allocations: 175.9 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.9827, allocations: 1.188 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.9828, allocations: 26.5 kB / 1.129 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.9828, allocations: 0 / 1.129 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.9828, allocations: 0.6094 kB / 1.129 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.9829, allocations: 0.625 kB / 1.129 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.9829, allocations: 4 kB / 1.129 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.9832, allocations: 217.2 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.9832, allocations: 85.61 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.9833, allocations: 0 / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.9834, allocations: 16.03 kB / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.9834, allocations: 3.469 kB / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.9834, allocations: 8.766 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.9835, allocations: 83.98 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9835, allocations: 0 / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000201/0.9837, allocations: 11.91 kB / 1.13 GB, free: 31.27 MB / 0.7292 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.0002036/0.9839, allocations: 102.8 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.9842, allocations: 89.02 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9842, allocations: 4.75 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.9844, allocations: 50.25 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.9847, allocations: 12.2 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.985, allocations: 132.9 kB / 1.13 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.9852, allocations: 0.6846 MB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.9852, allocations: 3.938 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.9852, allocations: 7.438 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9852, allocations: 0 / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of Templates: time 0.002279/0.9875, allocations: 0.5305 MB / 1.131 GB, free: 29.89 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)