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.00181/0.00181, 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.002959/0.002959, allocations: 192.3 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.607/1.607, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.136/3.136, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 68.27 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4357, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.003402/0.4392, allocations: 1.217 MB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00366/0.4429, allocations: 2.36 MB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.4433, allocations: 3.938 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.4434, allocations: 11.81 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.4438, allocations: 79.39 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003836/0.4477, allocations: 1.31 MB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001673/0.4494, allocations: 1.049 MB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.4495, allocations: 24.73 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.4506, allocations: 427.2 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007082/0.4513, allocations: 331 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000526/0.4518, allocations: 56 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.4524, allocations: 79.98 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.4525, allocations: 55.81 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0009468/0.4535, allocations: 347 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.455, allocations: 0.9274 MB / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.455, allocations: 3.938 kB / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.455, allocations: 0 / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.455, allocations: 0 / 1.076 GB, free: 2.605 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.002376/0.4574, allocations: 1.168 MB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4575, allocations: 8.031 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/0.4578, allocations: 64.66 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.4581, allocations: 224.3 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.783e-05/0.4582, allocations: 36.36 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.4584, allocations: 64.36 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.4587, allocations: 218.9 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4588, allocations: 192 / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.4588, allocations: 11.92 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4588, allocations: 0 / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.4589, allocations: 67.78 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.4599, allocations: 0.8522 MB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.4603, allocations: 331.2 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.4605, allocations: 128.9 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.4605, allocations: 11.94 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006183/0.4611, allocations: 454.9 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.753e-06/0.4612, allocations: 0 / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001085/0.4622, allocations: 0.5618 MB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002654/0.4625, allocations: 443.1 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.4629, allocations: 300.3 kB / 1.08 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.463, allocations: 61.7 kB / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.4632, allocations: 161.3 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.4634, allocations: 98.84 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004998/0.4639, allocations: 274.1 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4641, allocations: 354.8 kB / 1.081 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000909/0.465, allocations: 421.3 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.4661, allocations: 0.7067 MB / 1.082 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.4676, allocations: 1.199 MB / 1.084 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.4676, allocations: 8 kB / 1.084 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003048/0.4706, allocations: 1.709 MB / 1.085 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003218/0.471, allocations: 489.4 kB / 1.086 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.471, allocations: 8 kB / 1.086 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.471, allocations: 16 kB / 1.086 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.561e-05/0.4711, allocations: 31.86 kB / 1.086 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/0.4711, allocations: 16.66 kB / 1.086 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/0.4736, allocations: 422.9 kB / 1.086 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/0.4738, allocations: 95.92 kB / 1.086 GB, free: 6.418 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.0004455/0.4743, allocations: 217.5 kB / 1.086 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.4744, allocations: 51.39 kB / 1.086 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.4745, allocations: 38.14 kB / 1.087 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.4746, allocations: 12 kB / 1.087 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.4746, allocations: 4 kB / 1.087 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.4746, allocations: 7.984 kB / 1.087 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.4752, allocations: 325.4 kB / 1.087 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4752, allocations: 4 kB / 1.087 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.4752, allocations: 19.92 kB / 1.087 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/0.4753, allocations: 11.92 kB / 1.087 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.4753, allocations: 23.98 kB / 1.087 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.4753, allocations: 4 kB / 1.087 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.102e-05/0.4753, allocations: 7.938 kB / 1.087 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.4762, allocations: 0.5196 MB / 1.087 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.4764, allocations: 116.5 kB / 1.088 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.4765, allocations: 19.98 kB / 1.088 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.4766, allocations: 19.92 kB / 1.088 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.4767, allocations: 59.81 kB / 1.088 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.4768, allocations: 31.98 kB / 1.088 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002349/0.477, allocations: 187.1 kB / 1.088 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.21e-07/0.477, allocations: 0 / 1.088 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008709/0.4779, allocations: 204 kB / 1.088 GB, free: 4.422 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.0003415/0.4783, allocations: 129.4 kB / 1.088 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00278/0.4811, allocations: 1.75 MB / 1.09 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4811, allocations: 0 / 1.09 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.4814, allocations: 184.9 kB / 1.09 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/0.4822, allocations: 127.8 kB / 1.09 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.4835, allocations: 0.7033 MB / 1.091 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.4839, allocations: 0.7725 MB / 1.092 GB, free: 492 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.4841, allocations: 42.97 kB / 1.092 GB, free: 448 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.4842, allocations: 39.42 kB / 1.092 GB, free: 408 kB / 0.8419 GB Notification: Performance of SimCode: time 1.182e-06/0.4842, allocations: 0 / 1.092 GB, free: 408 kB / 0.8419 GB Notification: Performance of Templates: time 0.0261/0.5103, allocations: 11.36 MB / 1.103 GB, free: 5.191 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)