Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, 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.002087/0.002087, allocations: 196 kB / 16.14 MB, free: 6.695 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.587/1.587, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.125/3.125, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 61.62 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.438, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00225/0.4403, allocations: 0.8873 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.4424, allocations: 1.537 MB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.4425, allocations: 4 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.4427, allocations: 15.86 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.4427, allocations: 27.77 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.4439, allocations: 493.8 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.4444, allocations: 415.3 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.4446, allocations: 49.39 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.4448, allocations: 163.7 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.445, allocations: 135.6 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.4451, allocations: 28 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.4452, allocations: 35.98 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.4453, allocations: 35.91 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.4455, allocations: 151.4 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.4459, allocations: 387.2 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4459, allocations: 0 / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.01e-07/0.4459, allocations: 7.938 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.4459, allocations: 0 / 1.072 GB, free: 6.598 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008425/0.4468, allocations: 0.6438 MB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.4469, allocations: 8.031 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.447, allocations: 32.75 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.4474, allocations: 252.5 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.4474, allocations: 16.38 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/0.4475, allocations: 36.36 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.4478, allocations: 157.7 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4479, allocations: 192 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.4479, allocations: 11.88 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4479, allocations: 4 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.448, allocations: 82.8 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009201/0.449, allocations: 0.7109 MB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.4492, allocations: 171.6 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.4493, allocations: 48.83 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.4493, allocations: 0 / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.4496, allocations: 160.6 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.4496, allocations: 4 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0005154/0.4501, allocations: 239 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.4502, allocations: 67.38 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.4504, allocations: 179.5 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.4505, allocations: 37.7 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.4506, allocations: 128.4 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.4507, allocations: 43.44 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.4509, allocations: 113.6 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.451, allocations: 334.8 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.4514, allocations: 163.8 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.4519, allocations: 238.1 kB / 1.075 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/0.4525, allocations: 411.5 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4525, allocations: 0 / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001045/0.4535, allocations: 0.6147 MB / 1.076 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.4537, allocations: 164.5 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4537, allocations: 7.938 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.4537, allocations: 4 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.496e-05/0.4538, allocations: 15.92 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.4538, allocations: 4 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008354/0.4546, allocations: 139.7 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.4547, allocations: 36.06 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.000174/0.4549, allocations: 157.6 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.4549, allocations: 15.81 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.455, allocations: 25.81 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.455, allocations: 4 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.455, allocations: 0 / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.455, allocations: 3.984 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.4556, allocations: 0.5113 MB / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4556, allocations: 0 / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.4556, allocations: 4 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4556, allocations: 0 / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.4556, allocations: 11.98 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4556, allocations: 4 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4556, allocations: 0 / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.456, allocations: 285.1 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.456, allocations: 96.84 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.4561, allocations: 4 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.4561, allocations: 4 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.4562, allocations: 19.97 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.4562, allocations: 12 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.741e-05/0.4563, allocations: 119.2 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.573e-06/0.4563, allocations: 0 / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003736/0.4567, allocations: 87.92 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001993/0.4569, allocations: 107.2 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007543/0.4577, allocations: 0.6223 MB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4577, allocations: 0 / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.4578, allocations: 71.91 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.4583, allocations: 47.89 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.4589, allocations: 367.8 kB / 1.079 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4592, allocations: 0.7245 MB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.815e-05/0.4593, allocations: 21.55 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.4593, allocations: 23.44 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.4593, allocations: 0 / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Templates: time 0.007886/0.4672, allocations: 4.334 MB / 1.084 GB, free: 9.117 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)