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.0007367/0.0007367, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004005/0.004005, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.178/1.178, allocations: 205.4 MB / 222.4 MB, free: 5.578 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.327/1.327, allocations: 252 MB / 0.5105 GB, free: 4.648 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.000474/0.0004741, allocations: 16 kB / 0.6249 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3659, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001383/0.3673, allocations: 1.234 MB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003848/0.3677, allocations: 236.2 kB / 0.7302 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.3678, allocations: 0 / 0.7302 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.3678, allocations: 7.922 kB / 0.7302 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.3679, allocations: 3.938 kB / 0.7302 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.368, allocations: 23.92 kB / 0.7302 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.495e-05/0.3681, allocations: 95.75 kB / 0.7303 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3682, allocations: 27.84 kB / 0.7303 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.3683, allocations: 19.92 kB / 0.7303 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.3684, allocations: 35.78 kB / 0.7304 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3684, allocations: 4 kB / 0.7304 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.3684, allocations: 7.938 kB / 0.7304 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.3684, allocations: 15.98 kB / 0.7304 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.3685, allocations: 49.5 kB / 0.7304 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3686, allocations: 89.67 kB / 0.7305 GB, free: 9.438 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3686, allocations: 0 / 0.7305 GB, free: 9.438 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3686, allocations: 0 / 0.7305 GB, free: 9.438 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.3686, allocations: 0 / 0.7305 GB, free: 9.438 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.0005041/0.3691, allocations: 399.2 kB / 0.7309 GB, free: 8.996 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.3691, allocations: 12.03 kB / 0.7309 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.3692, allocations: 12.84 kB / 0.7309 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3693, allocations: 180.2 kB / 0.7311 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3693, allocations: 4.375 kB / 0.7311 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.3693, allocations: 8.375 kB / 0.7311 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.3695, allocations: 98.2 kB / 0.7312 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.3696, allocations: 192 / 0.7312 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3696, allocations: 3.938 kB / 0.7312 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3696, allocations: 4 kB / 0.7312 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.3698, allocations: 75.89 kB / 0.7313 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.3702, allocations: 344.6 kB / 0.7316 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.3704, allocations: 74.48 kB / 0.7317 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3705, allocations: 28.97 kB / 0.7317 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.3705, allocations: 4 kB / 0.7317 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.3707, allocations: 87.38 kB / 0.7318 GB, free: 7.961 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3707, allocations: 0 / 0.7318 GB, free: 7.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0003707/0.3711, allocations: 133.6 kB / 0.7319 GB, free: 7.824 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.3712, allocations: 55.41 kB / 0.732 GB, free: 7.758 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.3712, allocations: 125.7 kB / 0.7321 GB, free: 7.625 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3713, allocations: 33.7 kB / 0.7321 GB, free: 7.586 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.3713, allocations: 92.05 kB / 0.7322 GB, free: 7.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3714, allocations: 19.81 kB / 0.7322 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.3714, allocations: 17.72 kB / 0.7323 GB, free: 7.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.3715, allocations: 322.8 kB / 0.7326 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3716, allocations: 31.98 kB / 0.7326 GB, free: 7.094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.3717, allocations: 62.53 kB / 0.7327 GB, free: 7.023 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3719, allocations: 73.64 kB / 0.7327 GB, free: 6.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3719, allocations: 0 / 0.7327 GB, free: 6.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002392/0.3721, allocations: 117.6 kB / 0.7328 GB, free: 6.824 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.3722, allocations: 4 kB / 0.7329 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3722, allocations: 0 / 0.7329 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.3722, allocations: 0 / 0.7329 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.3723, allocations: 19.92 kB / 0.7329 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3723, allocations: 3.938 kB / 0.7329 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3724, allocations: 35.77 kB / 0.7329 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3724, allocations: 4 kB / 0.7329 GB, free: 6.758 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.485e-05/0.3725, allocations: 121.8 kB / 0.733 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.3725, allocations: 4 kB / 0.733 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.3725, allocations: 8.625 kB / 0.733 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-06/0.3725, allocations: 4 kB / 0.733 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3726, allocations: 4 kB / 0.733 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3726, allocations: 7.938 kB / 0.7331 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.3727, allocations: 189.6 kB / 0.7332 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3727, allocations: 0 / 0.7332 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.3728, allocations: 11.98 kB / 0.7332 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3728, allocations: 0 / 0.7332 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3728, allocations: 4 kB / 0.7333 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3728, allocations: 3.938 kB / 0.7333 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3728, allocations: 0 / 0.7333 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.373, allocations: 132.9 kB / 0.7334 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.3731, allocations: 85.02 kB / 0.7335 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3731, allocations: 4 kB / 0.7335 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.3732, allocations: 23.98 kB / 0.7335 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.3733, allocations: 15.91 kB / 0.7335 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.3733, allocations: 0 / 0.7335 GB, free: 6.055 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.3733, allocations: 99.27 kB / 0.7336 GB, free: 5.957 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3733, allocations: 0 / 0.7336 GB, free: 5.957 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001787/0.3735, allocations: 15.94 kB / 0.7336 GB, free: 5.941 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 8.015e-05/0.3736, allocations: 99.25 kB / 0.7337 GB, free: 5.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3738, allocations: 83.89 kB / 0.7338 GB, free: 5.754 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3739, allocations: 0 / 0.7338 GB, free: 5.754 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.374, allocations: 44.03 kB / 0.7338 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.3742, allocations: 15.94 kB / 0.7338 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.3745, allocations: 216.2 kB / 0.7341 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.3747, allocations: 0.6926 MB / 0.7347 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.3747, allocations: 7.75 kB / 0.7347 GB, free: 4.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.3748, allocations: 11.44 kB / 0.7347 GB, free: 4.723 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.3748, allocations: 0 / 0.7347 GB, free: 4.723 MB / 0.545 GB Notification: Performance of Templates: time 0.002404/0.3772, allocations: 0.9087 MB / 0.7356 GB, free: 3.828 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: