Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_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_1.6_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.001202/0.001202, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001637/0.001637, allocations: 197.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 57.91 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4267, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.003153/0.4299, allocations: 0.8553 MB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.432, allocations: 1.174 MB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.4321, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.934e-05/0.4322, allocations: 3.938 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.569e-05/0.4323, allocations: 7.922 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006225/0.4329, allocations: 127.3 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.4331, allocations: 131.7 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.4333, allocations: 35.95 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.4334, allocations: 43.91 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.4336, allocations: 51.81 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.4336, allocations: 8 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-05/0.4337, allocations: 27.97 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.4338, allocations: 15.92 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.4339, allocations: 43.78 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.4342, allocations: 147.9 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4342, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4342, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.4342, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 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.0008842/0.4351, allocations: 436.9 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.4352, allocations: 15.97 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.4353, allocations: 12.84 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.4354, allocations: 172.2 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.4355, allocations: 8.375 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.4355, allocations: 8.375 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.4358, allocations: 86.2 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4358, allocations: 192 / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.4359, allocations: 3.938 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.4359, allocations: 8 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.4362, allocations: 67.89 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/0.4369, allocations: 368.6 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.4372, allocations: 62.48 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.4373, allocations: 32.91 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.4373, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.4376, allocations: 87.31 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 2.093e-06/0.4376, allocations: 4 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0006021/0.4383, allocations: 125.5 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.4383, allocations: 55.41 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.4385, allocations: 133.6 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.4385, allocations: 29.7 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/0.4386, allocations: 104 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.4387, allocations: 11.91 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.4388, allocations: 37.7 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4389, allocations: 318.8 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.4392, allocations: 51.97 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.4394, allocations: 79.39 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.4398, allocations: 120.3 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4398, allocations: 4 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006443/0.4405, allocations: 191.2 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.4406, allocations: 37.69 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4406, allocations: 4.062 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4406, allocations: 0 / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.4407, allocations: 8 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.4408, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.4411, allocations: 55.72 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.4412, allocations: 4 kB / 1.073 GB, free: 5.215 MB / 0.8262 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,onSys.y,$PRE.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): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001445/0.4413, allocations: 125.9 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.4413, allocations: 7.938 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.4414, allocations: 12.36 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4414, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4414, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4414, allocations: 7.938 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.4417, allocations: 197.8 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4417, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-05/0.4418, allocations: 8 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4418, allocations: 0 / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.4418, allocations: 11.92 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.4418, allocations: 4 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.4418, allocations: 0 / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.4422, allocations: 121 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.4423, allocations: 85 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.4423, allocations: 4 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.782e-05/0.4424, allocations: 15.98 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.4425, allocations: 11.92 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.4425, allocations: 4 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.581e-05/0.4426, allocations: 91.27 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4426, allocations: 0 / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004071/0.443, allocations: 28 kB / 1.073 GB, free: 4.398 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001942/0.4432, allocations: 103.2 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005582/0.4438, allocations: 167.3 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4438, allocations: 4 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.444, allocations: 35.97 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.4444, allocations: 13.55 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005559/0.4449, allocations: 205 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.4453, allocations: 0.6906 MB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.387e-05/0.4454, allocations: 4 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.4454, allocations: 15.42 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.4454, allocations: 4 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of Templates: time 0.005796/0.4512, allocations: 1.468 MB / 1.076 GB, free: 1.652 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)