Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.744/1.744, allocations: 297.8 MB / 313.7 MB, free: 140 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.001164/0.001164, allocations: 182.9 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.464/1.464, allocations: 223.2 MB / 0.6626 GB, free: 4.176 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.0009169/0.0009169, allocations: 104.6 kB / 0.7808 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00064/0.00064, allocations: 19.05 kB / 0.9088 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8446/0.8453, allocations: 120.3 MB / 1.026 GB, free: 56.02 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/1.058, allocations: 141.9 MB / 1.165 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.058, allocations: 89.06 kB / 1.165 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004914/1.063, allocations: 1.782 MB / 1.167 GB, free: 420 kB / 0.7292 GB Notification: Performance of FrontEnd: time 3.347e-06/1.063, allocations: 0.5 kB / 1.167 GB, free: 420 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.275e-06/1.063, allocations: 8.469 kB / 1.167 GB, free: 412 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006121/1.064, allocations: 442.9 kB / 1.167 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/1.064, allocations: 8.031 kB / 1.167 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/1.064, allocations: 9.406 kB / 1.167 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/1.064, allocations: 178.3 kB / 1.167 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/1.064, allocations: 6.656 kB / 1.167 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/1.064, allocations: 8.375 kB / 1.167 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/1.064, allocations: 96.53 kB / 1.167 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.065, allocations: 1.781 kB / 1.167 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/1.065, allocations: 7.938 kB / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.065, allocations: 3.938 kB / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/1.065, allocations: 81.03 kB / 1.168 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007936/1.066, allocations: 416.8 kB / 1.168 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/1.066, allocations: 64.16 kB / 1.168 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.373e-05/1.066, allocations: 36.16 kB / 1.168 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/1.066, allocations: 2.906 kB / 1.168 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/1.066, allocations: 38.27 kB / 1.168 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/1.066, allocations: 0 / 1.168 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0003811/1.066, allocations: 128.3 kB / 1.168 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/1.066, allocations: 51.41 kB / 1.168 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/1.066, allocations: 155.2 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/1.067, allocations: 30.5 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/1.067, allocations: 103 kB / 1.169 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/1.067, allocations: 17.58 kB / 1.169 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/1.067, allocations: 0 / 1.169 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.067, allocations: 326.1 kB / 1.169 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/1.067, allocations: 29.48 kB / 1.169 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.198e-05/1.067, allocations: 37.08 kB / 1.169 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/1.067, allocations: 56.27 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.067, allocations: 0 / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002171/1.067, allocations: 112.3 kB / 1.169 GB, free: 14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.067, allocations: 4.703 kB / 1.169 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.067, allocations: 0 / 1.169 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.067, allocations: 4 kB / 1.169 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.775e-05/1.067, allocations: 12.69 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.067, allocations: 4.875 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/1.068, allocations: 29.39 kB / 1.169 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/1.068, allocations: 8 kB / 1.169 GB, free: 13.95 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: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.33e-05/1.068, allocations: 119.9 kB / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/1.068, allocations: 8.562 kB / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/1.068, allocations: 13.48 kB / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.068, allocations: 0 / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.068, allocations: 4.453 kB / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.068, allocations: 7.047 kB / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/1.068, allocations: 205 kB / 1.169 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.068, allocations: 4 kB / 1.169 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/1.068, allocations: 11.97 kB / 1.169 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.068, allocations: 0 / 1.169 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/1.068, allocations: 2.906 kB / 1.169 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.068, allocations: 0.6562 kB / 1.169 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.068, allocations: 3.938 kB / 1.169 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/1.069, allocations: 197 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/1.069, allocations: 81.58 kB / 1.17 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/1.069, allocations: 4.656 kB / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/1.069, allocations: 36.62 kB / 1.17 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/1.069, allocations: 15.77 kB / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/1.069, allocations: 4.562 kB / 1.17 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.087e-05/1.069, allocations: 117.6 kB / 1.17 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.069, allocations: 0 / 1.17 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002148/1.069, allocations: 20 kB / 1.17 GB, free: 13.09 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 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001191/1.069, allocations: 96.8 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002297/1.07, allocations: 73.98 kB / 1.17 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.07, allocations: 0 / 1.17 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/1.07, allocations: 41.91 kB / 1.17 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/1.07, allocations: 18.06 kB / 1.17 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/1.07, allocations: 223.5 kB / 1.17 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/1.071, allocations: 0.7027 MB / 1.171 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.087e-05/1.071, allocations: 9.641 kB / 1.171 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/1.071, allocations: 12.89 kB / 1.171 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.071, allocations: 3.562 kB / 1.171 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.003778/1.075, allocations: 1.078 MB / 1.172 GB, free: 11.34 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)