Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001593/0.001593, 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.002033/0.002033, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.538/1.538, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.963/2.963, allocations: 472.6 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 66.25 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4246, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002559/0.4272, allocations: 1.208 MB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003189/0.4304, allocations: 2.364 MB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.4306, allocations: 4 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.989e-05/0.4307, allocations: 7.875 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.4309, allocations: 71.39 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.4338, allocations: 1.315 MB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009472/0.4348, allocations: 1.049 MB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.4348, allocations: 24.73 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004887/0.4353, allocations: 423.2 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.4357, allocations: 335 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.4359, allocations: 60 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.4361, allocations: 71.98 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.4362, allocations: 55.83 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.4366, allocations: 347 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000884/0.4375, allocations: 0.9314 MB / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4375, allocations: 0 / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.02e-07/0.4375, allocations: 0 / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.4375, allocations: 0 / 1.076 GB, free: 2.656 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.001411/0.4389, allocations: 1.164 MB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.439, allocations: 12.03 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.4392, allocations: 68.64 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.4394, allocations: 224.3 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.4395, allocations: 40.3 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.4397, allocations: 72.36 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.44, allocations: 214.9 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.44, allocations: 192 / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.44, allocations: 11.92 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.44, allocations: 4 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.4402, allocations: 67.78 kB / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009235/0.4411, allocations: 0.8482 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.4414, allocations: 323.2 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.4416, allocations: 136.9 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.4416, allocations: 7.984 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005837/0.4422, allocations: 458.9 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.833e-06/0.4422, allocations: 0 / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001048/0.4433, allocations: 0.5657 MB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/0.4435, allocations: 443.2 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.4438, allocations: 296.3 kB / 1.08 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.4439, allocations: 61.7 kB / 1.08 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.4441, allocations: 157.3 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.768e-05/0.4442, allocations: 102.8 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004821/0.4447, allocations: 274 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4449, allocations: 354.8 kB / 1.081 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000884/0.4458, allocations: 425.3 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.4469, allocations: 0.6989 MB / 1.082 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.4484, allocations: 1.187 MB / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.4484, allocations: 4 kB / 1.084 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003011/0.4514, allocations: 1.717 MB / 1.085 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003245/0.4517, allocations: 495 kB / 1.086 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.4518, allocations: 12 kB / 1.086 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.4518, allocations: 12 kB / 1.086 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/0.4519, allocations: 35.86 kB / 1.086 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.4519, allocations: 19.92 kB / 1.086 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.4543, allocations: 423.2 kB / 1.086 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.4545, allocations: 99.91 kB / 1.086 GB, free: 6.453 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.0004041/0.4549, allocations: 213.6 kB / 1.086 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.4551, allocations: 43.47 kB / 1.086 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.294e-05/0.4552, allocations: 42.14 kB / 1.087 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.4552, allocations: 8 kB / 1.087 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/0.4552, allocations: 4 kB / 1.087 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.4552, allocations: 11.92 kB / 1.087 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.4557, allocations: 329.4 kB / 1.087 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4557, allocations: 4 kB / 1.087 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.4558, allocations: 19.91 kB / 1.087 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.4558, allocations: 15.88 kB / 1.087 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.4559, allocations: 15.98 kB / 1.087 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.4559, allocations: 4 kB / 1.087 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.4559, allocations: 7.984 kB / 1.087 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007481/0.4566, allocations: 0.5234 MB / 1.087 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.4568, allocations: 120.5 kB / 1.088 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.4568, allocations: 15.98 kB / 1.088 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4569, allocations: 11.98 kB / 1.088 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4571, allocations: 59.88 kB / 1.088 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.4571, allocations: 31.98 kB / 1.088 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001919/0.4573, allocations: 191.1 kB / 1.088 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.083e-06/0.4573, allocations: 0 / 1.088 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007283/0.458, allocations: 203.9 kB / 1.088 GB, free: 4.465 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.0002535/0.4583, allocations: 135.2 kB / 1.088 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002211/0.4605, allocations: 1.747 MB / 1.09 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.247e-06/0.4605, allocations: 0 / 1.09 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.4608, allocations: 184.8 kB / 1.09 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.4616, allocations: 117.4 kB / 1.09 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.4628, allocations: 0.6998 MB / 1.091 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.4631, allocations: 0.7841 MB / 1.092 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.4633, allocations: 38.98 kB / 1.092 GB, free: 496 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.4634, allocations: 39.42 kB / 1.092 GB, free: 456 kB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.4634, allocations: 0 / 1.092 GB, free: 456 kB / 0.8419 GB Notification: Performance of Templates: time 0.02039/0.4838, allocations: 11.37 MB / 1.103 GB, free: 5.223 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)