Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001176, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001262/0.001262, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7448 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 70.88 kB / 0.9116 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4221, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002757/0.4249, allocations: 1.224 MB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002892/0.4279, allocations: 2.172 MB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.4281, allocations: 0 / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.603e-05/0.4282, allocations: 11.81 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.4285, allocations: 79.38 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.4318, allocations: 1.314 MB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.4335, allocations: 1.279 MB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4336, allocations: 32.7 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009062/0.4345, allocations: 475.3 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.4351, allocations: 347 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004676/0.4355, allocations: 104 kB / 1.075 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.4359, allocations: 123.9 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.436, allocations: 71.75 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005887/0.4366, allocations: 395 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.4378, allocations: 0.9548 MB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.4378, allocations: 4 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4378, allocations: 0 / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.4378, allocations: 4 kB / 1.076 GB, free: 2.191 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001588/0.4394, allocations: 1.164 MB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4395, allocations: 8.031 kB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.4397, allocations: 68.64 kB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.4398, allocations: 224.3 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.4399, allocations: 40.36 kB / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.4401, allocations: 68.36 kB / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.4403, allocations: 212.4 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4404, allocations: 192 / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.4404, allocations: 15.92 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4404, allocations: 4 kB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.4405, allocations: 67.72 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/0.4414, allocations: 0.8483 MB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.4417, allocations: 323.2 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.4418, allocations: 136.9 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.4419, allocations: 11.94 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000558/0.4424, allocations: 458.9 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.683e-06/0.4424, allocations: 0 / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.0009952/0.4434, allocations: 0.5655 MB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.4436, allocations: 435.2 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.4439, allocations: 300.3 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.4441, allocations: 65.7 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.4443, allocations: 161.3 kB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/0.4443, allocations: 94.84 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004745/0.4448, allocations: 274.1 kB / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.445, allocations: 354.8 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008242/0.4458, allocations: 425.3 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009684/0.4468, allocations: 0.6989 MB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.4481, allocations: 1.199 MB / 1.084 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.4481, allocations: 4 kB / 1.084 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002635/0.4507, allocations: 1.713 MB / 1.086 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002558/0.451, allocations: 489.4 kB / 1.086 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.451, allocations: 8 kB / 1.086 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.451, allocations: 16 kB / 1.086 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.4511, allocations: 31.8 kB / 1.086 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.4511, allocations: 19.92 kB / 1.086 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.4535, allocations: 419.4 kB / 1.087 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.4537, allocations: 99.92 kB / 1.087 GB, free: 6 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003496/0.454, allocations: 221.5 kB / 1.087 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.4541, allocations: 43.47 kB / 1.087 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.055e-05/0.4542, allocations: 42.14 kB / 1.087 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.4542, allocations: 8 kB / 1.087 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.4542, allocations: 4 kB / 1.087 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.4542, allocations: 7.984 kB / 1.087 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.4546, allocations: 325.4 kB / 1.087 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4546, allocations: 4 kB / 1.087 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.4547, allocations: 23.86 kB / 1.087 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.4547, allocations: 7.938 kB / 1.087 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.4547, allocations: 19.98 kB / 1.087 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.4547, allocations: 7.938 kB / 1.087 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.4548, allocations: 8 kB / 1.087 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.4554, allocations: 0.5237 MB / 1.088 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.4555, allocations: 120.5 kB / 1.088 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.4555, allocations: 19.98 kB / 1.088 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.4556, allocations: 15.98 kB / 1.088 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/0.4557, allocations: 59.83 kB / 1.088 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.4558, allocations: 31.97 kB / 1.088 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000155/0.4559, allocations: 187.1 kB / 1.088 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4559, allocations: 0 / 1.088 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006206/0.4566, allocations: 200 kB / 1.089 GB, free: 4.008 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0001977/0.4568, allocations: 135.2 kB / 1.089 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002103/0.4589, allocations: 1.766 MB / 1.09 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4589, allocations: 0 / 1.09 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.4592, allocations: 188.8 kB / 1.091 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.4599, allocations: 124 kB / 1.091 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009817/0.4609, allocations: 0.7069 MB / 1.091 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.4612, allocations: 0.7761 MB / 1.092 GB, free: 36 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000133/0.4614, allocations: 43.03 kB / 1.092 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.4614, allocations: 39.38 kB / 1.092 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/0.4614, allocations: 0 / 1.092 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of Templates: time 0.02289/0.4843, allocations: 11.87 MB / 1.104 GB, free: 4.234 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)