Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.7 MB / 0.5092 GB, free: 3.125 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 75.89 kB / 0.6223 GB, free: 1.477 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3504, allocations: 104.7 MB / 0.7245 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002256/0.3527, allocations: 1.524 MB / 0.726 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004098/0.3531, allocations: 240.1 kB / 0.7262 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.3531, allocations: 4 kB / 0.7262 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.3532, allocations: 3.938 kB / 0.7262 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.3533, allocations: 15.86 kB / 0.7263 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.3534, allocations: 31.91 kB / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.402e-05/0.3535, allocations: 91.77 kB / 0.7264 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3536, allocations: 35.83 kB / 0.7264 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.3537, allocations: 39.8 kB / 0.7264 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.3538, allocations: 31.84 kB / 0.7265 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.3538, allocations: 8 kB / 0.7265 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.3538, allocations: 16 kB / 0.7265 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.3538, allocations: 15.98 kB / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.3539, allocations: 39.8 kB / 0.7265 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.354, allocations: 89.67 kB / 0.7266 GB, free: 10.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.354, allocations: 4 kB / 0.7266 GB, free: 10.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.032e-06/0.354, allocations: 0 / 0.7266 GB, free: 10.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.354, allocations: 0 / 0.7266 GB, free: 10.71 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005224/0.3545, allocations: 403.1 kB / 0.727 GB, free: 10.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.3546, allocations: 15.97 kB / 0.727 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.3546, allocations: 16.78 kB / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3547, allocations: 180.2 kB / 0.7272 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3548, allocations: 384 / 0.7272 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.3548, allocations: 12.38 kB / 0.7272 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.355, allocations: 82.16 kB / 0.7273 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.355, allocations: 192 / 0.7273 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.355, allocations: 7.938 kB / 0.7273 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.355, allocations: 0 / 0.7273 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.3552, allocations: 67.94 kB / 0.7274 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.3557, allocations: 348.6 kB / 0.7277 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.3558, allocations: 58.55 kB / 0.7278 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.259e-05/0.3559, allocations: 28.97 kB / 0.7278 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.356, allocations: 0 / 0.7278 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.3561, allocations: 87.3 kB / 0.7279 GB, free: 9.258 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3562, allocations: 0 / 0.7279 GB, free: 9.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0003609/0.3565, allocations: 117.5 kB / 0.728 GB, free: 9.137 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.3566, allocations: 51.41 kB / 0.728 GB, free: 9.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.3566, allocations: 129.8 kB / 0.7282 GB, free: 8.938 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3567, allocations: 25.7 kB / 0.7282 GB, free: 8.906 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.3567, allocations: 96.03 kB / 0.7283 GB, free: 8.809 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.3567, allocations: 19.75 kB / 0.7283 GB, free: 8.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.3568, allocations: 29.72 kB / 0.7283 GB, free: 8.754 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.3569, allocations: 314.8 kB / 0.7286 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.357, allocations: 31.97 kB / 0.7287 GB, free: 8.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3571, allocations: 58.47 kB / 0.7287 GB, free: 8.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.3573, allocations: 65.7 kB / 0.7288 GB, free: 8.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3573, allocations: 0 / 0.7288 GB, free: 8.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002187/0.3575, allocations: 97.5 kB / 0.7289 GB, free: 8.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3575, allocations: 4 kB / 0.7289 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3576, allocations: 8.188 kB / 0.7289 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.3576, allocations: 0 / 0.7289 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.3577, allocations: 15.98 kB / 0.7289 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.3577, allocations: 4.031 kB / 0.7289 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.976e-05/0.3578, allocations: 23.91 kB / 0.7289 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.3578, allocations: 4 kB / 0.7289 GB, free: 8.109 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,onSys.pulseStart,$PRE.onSys.pulseStart,onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.65e-05/0.3579, allocations: 113.8 kB / 0.729 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.3579, allocations: 11.84 kB / 0.7291 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.3579, allocations: 8.375 kB / 0.7291 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3579, allocations: 4 kB / 0.7291 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3579, allocations: 0 / 0.7291 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3579, allocations: 7.938 kB / 0.7291 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.3581, allocations: 189.6 kB / 0.7293 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3581, allocations: 3.938 kB / 0.7293 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.3581, allocations: 7.984 kB / 0.7293 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3581, allocations: 0 / 0.7293 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3582, allocations: 4 kB / 0.7293 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3582, allocations: 0 / 0.7293 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.3582, allocations: 0 / 0.7293 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.3584, allocations: 124.9 kB / 0.7294 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.3584, allocations: 81.11 kB / 0.7295 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3585, allocations: 0 / 0.7295 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.3586, allocations: 15.97 kB / 0.7295 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.3586, allocations: 23.86 kB / 0.7295 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.3586, allocations: 0 / 0.7295 GB, free: 7.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.3587, allocations: 95.27 kB / 0.7296 GB, free: 7.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3587, allocations: 4 kB / 0.7296 GB, free: 7.332 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001863/0.3589, allocations: 19.84 kB / 0.7296 GB, free: 7.312 MB / 0.545 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,conEquSta.onBoi,conEquSta.hys.y,onSys.y,onSys.pulseStart) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.746e-05/0.359, allocations: 99.25 kB / 0.7297 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.3592, allocations: 71.89 kB / 0.7298 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3592, allocations: 0 / 0.7298 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.3593, allocations: 40.03 kB / 0.7298 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.3595, allocations: 22.55 kB / 0.7298 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.3598, allocations: 175.5 kB / 0.73 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.3601, allocations: 0.6995 MB / 0.7307 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.063e-05/0.3601, allocations: 7.75 kB / 0.7307 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.3601, allocations: 11.44 kB / 0.7307 GB, free: 6.137 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.3601, allocations: 0 / 0.7307 GB, free: 6.137 MB / 0.545 GB Notification: Performance of Templates: time 0.002834/0.363, allocations: 1.113 MB / 0.7318 GB, free: 5.039 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)