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.00162/0.00162, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.539/1.539, allocations: 222.9 MB / 240.2 MB, free: 4.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 472.6 MB / 0.7451 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.41 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4266, allocations: 159.9 MB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002578/0.4293, allocations: 1.17 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.4321, allocations: 2.182 MB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.4322, allocations: 0 / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.383e-05/0.4323, allocations: 23.67 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.4325, allocations: 87.2 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.4356, allocations: 1.38 MB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.437, allocations: 1.287 MB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.66e-05/0.4371, allocations: 20.73 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.4377, allocations: 483.2 kB / 1.075 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.4381, allocations: 347.1 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.4383, allocations: 104 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.4386, allocations: 120 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.4386, allocations: 55.77 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.4391, allocations: 391 kB / 1.076 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.4401, allocations: 0.9627 MB / 1.077 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4402, allocations: 3.938 kB / 1.077 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4402, allocations: 0 / 1.077 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.4402, allocations: 0 / 1.077 GB, free: 1.742 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.001393/0.4416, allocations: 1.176 MB / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4416, allocations: 8.031 kB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.4419, allocations: 60.66 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.4421, allocations: 232.2 kB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.4421, allocations: 36.36 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.4423, allocations: 64.41 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.4426, allocations: 214.9 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4426, allocations: 4.125 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.4426, allocations: 11.92 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4426, allocations: 4 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.4428, allocations: 67.78 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009044/0.4437, allocations: 0.8405 MB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.444, allocations: 335.2 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.4442, allocations: 132.8 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.4442, allocations: 12 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005811/0.4448, allocations: 466.8 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.803e-06/0.4449, allocations: 4 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.00108/0.4459, allocations: 0.5578 MB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/0.4462, allocations: 443.2 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.4465, allocations: 296.3 kB / 1.081 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.4467, allocations: 69.7 kB / 1.081 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.4469, allocations: 157.3 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.447, allocations: 98.83 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004709/0.4474, allocations: 274.1 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4476, allocations: 346.8 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008765/0.4485, allocations: 425.3 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.4496, allocations: 0.7067 MB / 1.083 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.451, allocations: 1.187 MB / 1.085 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.451, allocations: 4 kB / 1.085 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002862/0.4539, allocations: 1.72 MB / 1.086 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003348/0.4542, allocations: 488.1 kB / 1.087 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.4543, allocations: 8 kB / 1.087 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.071e-05/0.4543, allocations: 16 kB / 1.087 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.4544, allocations: 43.8 kB / 1.087 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/0.4544, allocations: 15.94 kB / 1.087 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/0.4569, allocations: 422.9 kB / 1.087 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.4571, allocations: 95.92 kB / 1.087 GB, free: 5.531 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.000415/0.4576, allocations: 222.1 kB / 1.087 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4577, allocations: 47.45 kB / 1.088 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.375e-05/0.4578, allocations: 38.14 kB / 1.088 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.4578, allocations: 8 kB / 1.088 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.4578, allocations: 4 kB / 1.088 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.4578, allocations: 7.984 kB / 1.088 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.4583, allocations: 325.4 kB / 1.088 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.4583, allocations: 4 kB / 1.088 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.4583, allocations: 27.86 kB / 1.088 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.4583, allocations: 7.938 kB / 1.088 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.4584, allocations: 23.98 kB / 1.088 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.4584, allocations: 4 kB / 1.088 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4584, allocations: 4 kB / 1.088 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/0.4591, allocations: 0.5196 MB / 1.088 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.444e-05/0.4592, allocations: 116.5 kB / 1.089 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.4593, allocations: 19.92 kB / 1.089 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.4594, allocations: 19.98 kB / 1.089 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.039e-05/0.4595, allocations: 51.89 kB / 1.089 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.4595, allocations: 27.98 kB / 1.089 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001763/0.4597, allocations: 195.1 kB / 1.089 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4597, allocations: 0 / 1.089 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007044/0.4604, allocations: 200 kB / 1.089 GB, free: 3.551 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.0002271/0.4607, allocations: 131.1 kB / 1.089 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002173/0.4628, allocations: 1.766 MB / 1.091 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4629, allocations: 0 / 1.091 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.4632, allocations: 183.8 kB / 1.091 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007861/0.464, allocations: 136.9 kB / 1.091 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.4651, allocations: 0.6286 MB / 1.092 GB, free: 464 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.4655, allocations: 0.78 MB / 1.093 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.4656, allocations: 42.97 kB / 1.093 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.4657, allocations: 43.36 kB / 1.093 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.4657, allocations: 0 / 1.093 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of Templates: time 0.02067/0.4864, allocations: 11.95 MB / 1.104 GB, free: 3.77 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)