Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 90.67 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.01144/0.01144, allocations: 170.5 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.603/1.603, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.141/3.141, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004139, allocations: 10.88 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4586, allocations: 162.2 MB / 1.074 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.0011/0.4598, allocations: 461.1 kB / 1.075 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.4614, allocations: 1.143 MB / 1.076 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.4615, allocations: 0 / 1.076 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.4615, allocations: 3.938 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.031e-05/0.4616, allocations: 7.938 kB / 1.076 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.4621, allocations: 118.9 kB / 1.076 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.4623, allocations: 103.8 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.4624, allocations: 11.98 kB / 1.076 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/0.4625, allocations: 35.86 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.4626, allocations: 31.91 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.4626, allocations: 7.938 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.587e-05/0.4627, allocations: 23.97 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.4627, allocations: 7.984 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.815e-05/0.4628, allocations: 53.56 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.463, allocations: 123.7 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.463, allocations: 0 / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.234e-06/0.463, allocations: 0 / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.463, allocations: 0 / 1.076 GB, free: 5.316 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005451/0.4636, allocations: 377.4 kB / 1.077 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4636, allocations: 12.03 kB / 1.077 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.4637, allocations: 12.84 kB / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.4639, allocations: 188.1 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.4639, allocations: 4.375 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.4639, allocations: 8.359 kB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.4641, allocations: 42.25 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.4641, allocations: 192 / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4641, allocations: 3.938 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4641, allocations: 3.938 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.027e-05/0.4642, allocations: 19.98 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.4646, allocations: 332.7 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.698e-05/0.4647, allocations: 38.52 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.4648, allocations: 8.922 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.4648, allocations: 0 / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.465, allocations: 71.39 kB / 1.077 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.465, allocations: 0 / 1.077 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002289/0.4652, allocations: 81.52 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.4653, allocations: 51.41 kB / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.4654, allocations: 125.8 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.4654, allocations: 29.7 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.4655, allocations: 88.14 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.4655, allocations: 7.812 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.4656, allocations: 21.7 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4657, allocations: 318.8 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.4658, allocations: 35.98 kB / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.591e-05/0.4659, allocations: 58.55 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.466, allocations: 96.22 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.466, allocations: 0 / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000293/0.4663, allocations: 167.3 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.4664, allocations: 39.89 kB / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4664, allocations: 0 / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4664, allocations: 0 / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.4665, allocations: 4 kB / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4665, allocations: 0 / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.4668, allocations: 47.92 kB / 1.078 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.4668, allocations: 7.938 kB / 1.078 GB, free: 2.793 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001113/0.4669, allocations: 121.7 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.4669, allocations: 4 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.467, allocations: 11.89 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.467, allocations: 0 / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.467, allocations: 4 kB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.467, allocations: 4 kB / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.4671, allocations: 169.6 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4671, allocations: 0 / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.771e-05/0.4672, allocations: 7.984 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4672, allocations: 0 / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4672, allocations: 3.938 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4672, allocations: 0 / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4672, allocations: 240 / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.4673, allocations: 100.9 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.4674, allocations: 85.02 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.4674, allocations: 7.984 kB / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.838e-05/0.4674, allocations: 0 / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.4675, allocations: 4 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.4675, allocations: 4 kB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.574e-05/0.4676, allocations: 91.27 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4676, allocations: 4 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002174/0.4678, allocations: 20 kB / 1.079 GB, free: 2.059 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001975/0.468, allocations: 115.2 kB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.4682, allocations: 131.3 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4682, allocations: 4 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.4683, allocations: 16 kB / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.4685, allocations: 16.95 kB / 1.079 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.4689, allocations: 158.7 kB / 1.079 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.4692, allocations: 0.6887 MB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.48e-05/0.4692, allocations: 4 kB / 1.08 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.4692, allocations: 7.438 kB / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4692, allocations: 0 / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of Templates: time 0.004084/0.4733, allocations: 1.285 MB / 1.081 GB, free: 15.58 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1)