Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.796/1.796, allocations: 297.8 MB / 313.7 MB, free: 116 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.00116/0.00116, allocations: 179 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.781/1.781, allocations: 223.2 MB / 0.6626 GB, free: 4.27 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.001074/0.001074, allocations: 88.2 kB / 0.7808 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004693, allocations: 12 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.086, allocations: 120.3 MB / 1.026 GB, free: 55.76 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2389/1.325, allocations: 142.4 MB / 1.165 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/1.325, allocations: 93.91 kB / 1.165 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008048/1.333, allocations: 2.43 MB / 1.168 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.887e-06/1.333, allocations: 0 / 1.168 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.811e-05/1.333, allocations: 0.7188 kB / 1.168 GB, free: 15.61 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008213/1.334, allocations: 428.9 kB / 1.168 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/1.334, allocations: 12.03 kB / 1.168 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/1.334, allocations: 10.42 kB / 1.168 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/1.335, allocations: 175 kB / 1.168 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/1.335, allocations: 4.984 kB / 1.168 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/1.335, allocations: 14.02 kB / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/1.335, allocations: 89.97 kB / 1.169 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.335, allocations: 0.9375 kB / 1.169 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/1.335, allocations: 5.062 kB / 1.169 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/1.335, allocations: 4 kB / 1.169 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/1.335, allocations: 67.72 kB / 1.169 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008714/1.336, allocations: 385.8 kB / 1.169 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/1.337, allocations: 57.89 kB / 1.169 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/1.337, allocations: 40.22 kB / 1.169 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/1.337, allocations: 0.875 kB / 1.169 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/1.337, allocations: 89.78 kB / 1.169 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/1.337, allocations: 0 / 1.169 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0005596/1.338, allocations: 145.5 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/1.338, allocations: 56.14 kB / 1.169 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/1.338, allocations: 135 kB / 1.169 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/1.338, allocations: 30.45 kB / 1.17 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/1.338, allocations: 103.8 kB / 1.17 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/1.338, allocations: 9.312 kB / 1.17 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/1.338, allocations: 4 kB / 1.17 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.338, allocations: 318.7 kB / 1.17 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/1.338, allocations: 62.52 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/1.339, allocations: 88.41 kB / 1.17 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/1.339, allocations: 125.4 kB / 1.17 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.339, allocations: 4.562 kB / 1.17 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005025/1.34, allocations: 202.4 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/1.34, allocations: 35.58 kB / 1.17 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.34, allocations: 0 / 1.17 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.34, allocations: 4.812 kB / 1.17 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/1.34, allocations: 15 kB / 1.17 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/1.34, allocations: 1.922 kB / 1.17 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/1.34, allocations: 60.36 kB / 1.17 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/1.34, allocations: 6.719 kB / 1.171 GB, free: 12.88 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: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001468/1.34, allocations: 123.6 kB / 1.171 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/1.34, allocations: 7.906 kB / 1.171 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/1.34, allocations: 9.547 kB / 1.171 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.34, allocations: 5.453 kB / 1.171 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.34, allocations: 0.75 kB / 1.171 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.34, allocations: 7.938 kB / 1.171 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/1.341, allocations: 192.1 kB / 1.171 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/1.341, allocations: 0.7969 kB / 1.171 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-05/1.341, allocations: 10.67 kB / 1.171 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.341, allocations: 0 / 1.171 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/1.341, allocations: 0.6094 kB / 1.171 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/1.341, allocations: 1.922 kB / 1.171 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.341, allocations: 0.9375 kB / 1.171 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/1.341, allocations: 140 kB / 1.171 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/1.341, allocations: 85.67 kB / 1.171 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/1.341, allocations: 0.6562 kB / 1.171 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/1.341, allocations: 20.73 kB / 1.171 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/1.341, allocations: 22.2 kB / 1.171 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/1.341, allocations: 0.6562 kB / 1.171 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.098e-05/1.341, allocations: 92.77 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.341, allocations: 3.938 kB / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003725/1.342, allocations: 31.94 kB / 1.171 GB, free: 12.1 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0002498/1.342, allocations: 108.4 kB / 1.171 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004652/1.343, allocations: 185.3 kB / 1.172 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.343, allocations: 0 / 1.172 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/1.343, allocations: 38.88 kB / 1.172 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/1.343, allocations: 21.09 kB / 1.172 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/1.344, allocations: 193.8 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/1.344, allocations: 0.6962 MB / 1.172 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.511e-05/1.344, allocations: 5.266 kB / 1.172 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/1.344, allocations: 12.09 kB / 1.172 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/1.344, allocations: 0 / 1.172 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.006001/1.35, allocations: 1.43 MB / 1.174 GB, free: 10.06 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)