Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 91.84 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.01115/0.01115, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.654/1.654, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003893, allocations: 12.78 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4454, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001349/0.4468, allocations: 485 kB / 1.075 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.4491, allocations: 1.155 MB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.4492, allocations: 0 / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.4493, allocations: 7.875 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.4494, allocations: 7.938 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.45, allocations: 123.7 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.4501, allocations: 107.8 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.4503, allocations: 19.97 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.4504, allocations: 39.91 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.4505, allocations: 35.83 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.4505, allocations: 4 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.728e-05/0.4506, allocations: 15.98 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.4507, allocations: 15.98 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.971e-05/0.4508, allocations: 61.55 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.451, allocations: 103.7 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.451, allocations: 0 / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.451, allocations: 0 / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.451, allocations: 4 kB / 1.076 GB, free: 5.367 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006337/0.4516, allocations: 393.3 kB / 1.077 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4517, allocations: 16.03 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.4518, allocations: 12.84 kB / 1.077 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.4519, allocations: 176.2 kB / 1.077 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.452, allocations: 4.375 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.452, allocations: 4.375 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.4522, allocations: 70.22 kB / 1.077 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4523, allocations: 192 / 1.077 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4523, allocations: 3.938 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4523, allocations: 8 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.4526, allocations: 51.95 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.4531, allocations: 336.7 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.4534, allocations: 62.55 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.4535, allocations: 44.95 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.4535, allocations: 0 / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.4538, allocations: 99.2 kB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.4538, allocations: 3.938 kB / 1.077 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004638/0.4542, allocations: 149.6 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.4543, allocations: 51.48 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4544, allocations: 125.7 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.4544, allocations: 37.7 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.4545, allocations: 92.06 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.4545, allocations: 15.81 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.4546, allocations: 25.7 kB / 1.078 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4548, allocations: 318.8 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.4549, allocations: 51.97 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.4552, allocations: 103.7 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.4555, allocations: 157.8 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4555, allocations: 0 / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004893/0.456, allocations: 219.2 kB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.4561, allocations: 33.69 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4561, allocations: 4 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4561, allocations: 3.938 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.4562, allocations: 19.98 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.4562, allocations: 0 / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.4565, allocations: 52.02 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.4565, allocations: 8 kB / 1.079 GB, free: 2.391 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001146/0.4566, allocations: 129.8 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.4566, allocations: 11.84 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.4567, allocations: 8.359 kB / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4567, allocations: 0 / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4567, allocations: 0 / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4567, allocations: 0 / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.4572, allocations: 394.7 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4572, allocations: 3.984 kB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.4573, allocations: 15.88 kB / 1.079 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4573, allocations: 0 / 1.079 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.4573, allocations: 7.984 kB / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4573, allocations: 0 / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4573, allocations: 0 / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.4577, allocations: 227.5 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.4577, allocations: 81.02 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.4578, allocations: 8.062 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.4579, allocations: 11.98 kB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.4579, allocations: 7.984 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4579, allocations: 7.938 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.937e-05/0.458, allocations: 95.27 kB / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.458, allocations: 0 / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002666/0.4583, allocations: 20 kB / 1.08 GB, free: 1.281 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001842/0.4585, allocations: 108.1 kB / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.4589, allocations: 183.3 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4589, allocations: 0 / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.4591, allocations: 48.22 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.4594, allocations: 15.94 kB / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.4598, allocations: 179.2 kB / 1.08 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.4601, allocations: 0.6965 MB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.4602, allocations: 7.781 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.4602, allocations: 11.44 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.4602, allocations: 3.938 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.004109/0.4643, allocations: 1.313 MB / 1.082 GB, free: 14.66 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)