Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008404/0.0008405, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.007423/0.007423, allocations: 172 kB / 16.26 MB, free: 6.613 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.524/1.524, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004586, allocations: 17.61 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4614, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0009839/0.4624, allocations: 391.9 kB / 1.075 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.464, allocations: 1.198 MB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.4641, allocations: 0 / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.4641, allocations: 7.938 kB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.4642, allocations: 11.92 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.4648, allocations: 198 kB / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.465, allocations: 155.6 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4651, allocations: 11.98 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.561e-05/0.4652, allocations: 59.89 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.959e-05/0.4653, allocations: 43.88 kB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.4653, allocations: 11.94 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.605e-05/0.4654, allocations: 19.98 kB / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.4655, allocations: 11.92 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.58e-05/0.4656, allocations: 73.59 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.4658, allocations: 147.6 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4658, allocations: 4 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4658, allocations: 3.938 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4658, allocations: 4 kB / 1.076 GB, free: 5.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000517/0.4663, allocations: 407.1 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4664, allocations: 12.03 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.755e-05/0.4665, allocations: 8.844 kB / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.4666, allocations: 164.4 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.4666, allocations: 8.359 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.4667, allocations: 12.38 kB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.4668, allocations: 54.25 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4668, allocations: 192 / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4668, allocations: 3.938 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4669, allocations: 0 / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.784e-05/0.4669, allocations: 19.92 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.4674, allocations: 356.7 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.4676, allocations: 34.52 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.4676, allocations: 24.94 kB / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.4676, allocations: 0 / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.4679, allocations: 79.31 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.4679, allocations: 0 / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003134/0.4682, allocations: 105.8 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.4683, allocations: 51.41 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4684, allocations: 121.8 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.4684, allocations: 30.08 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.4686, allocations: 88.14 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.4686, allocations: 15.81 kB / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.4687, allocations: 29.64 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4688, allocations: 326.7 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.469, allocations: 59.97 kB / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.4692, allocations: 92.27 kB / 1.078 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.4694, allocations: 155.6 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4694, allocations: 0 / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000481/0.4699, allocations: 264.8 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.407e-05/0.47, allocations: 75.33 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.47, allocations: 0 / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.47, allocations: 4 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.791e-05/0.4701, allocations: 0 / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/0.4701, allocations: 12 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.4706, allocations: 72.05 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.4706, allocations: 16 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001452/0.4708, allocations: 132.1 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.4708, allocations: 7.906 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.4709, allocations: 12.38 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4709, allocations: 0 / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4709, allocations: 0 / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4709, allocations: 0 / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.4711, allocations: 181.6 kB / 1.079 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4711, allocations: 0 / 1.079 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-06/0.4711, allocations: 0 / 1.079 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.4711, allocations: 4 kB / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4711, allocations: 0 / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4712, allocations: 0 / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4712, allocations: 8.031 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.4713, allocations: 116.9 kB / 1.079 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.4714, allocations: 81.08 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.4715, allocations: 11.98 kB / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.96e-05/0.4715, allocations: 0 / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.4715, allocations: 8 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.4716, allocations: 0 / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.013e-05/0.4716, allocations: 95.27 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4716, allocations: 0 / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000262/0.4719, allocations: 28 kB / 1.08 GB, free: 1.457 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002538/0.4722, allocations: 107.2 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004641/0.4726, allocations: 246.6 kB / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.4726, allocations: 0 / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.648e-05/0.4727, allocations: 27.94 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.473, allocations: 25.73 kB / 1.08 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.4735, allocations: 171.2 kB / 1.08 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.4739, allocations: 0.6848 MB / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.4739, allocations: 19.75 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.4739, allocations: 11.44 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.474, allocations: 4 kB / 1.081 GB, free: 80 kB / 0.8262 GB Notification: Performance of Templates: time 0.005706/0.4797, allocations: 1.748 MB / 1.083 GB, free: 14.36 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)