Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.594/1.594, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009601/0.0009601, allocations: 183.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008066/0.0008066, allocations: 103 kB / 0.7808 GB, free: 43.69 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 17.53 kB / 0.9088 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5736, allocations: 120.3 MB / 1.026 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.7497, allocations: 141.5 MB / 1.164 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.7499, allocations: 76.78 kB / 1.165 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01726/0.7672, allocations: 6.209 MB / 1.171 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7673, allocations: 0 / 1.171 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.7673, allocations: 4 kB / 1.171 GB, free: 10.52 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007328/0.768, allocations: 0.5834 MB / 1.171 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.7681, allocations: 8.031 kB / 1.171 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.7682, allocations: 32.66 kB / 1.171 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.7684, allocations: 219 kB / 1.171 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.7685, allocations: 12.38 kB / 1.171 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.064e-05/0.7686, allocations: 28.36 kB / 1.171 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.7688, allocations: 130.6 kB / 1.172 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7688, allocations: 192 / 1.172 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.7688, allocations: 3.938 kB / 1.172 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.7688, allocations: 4 kB / 1.172 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.7689, allocations: 57.08 kB / 1.172 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009442/0.7699, allocations: 0.8679 MB / 1.173 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.77, allocations: 118.4 kB / 1.173 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.7701, allocations: 51.48 kB / 1.173 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.7701, allocations: 0 / 1.173 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.7704, allocations: 180.2 kB / 1.173 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.7704, allocations: 0 / 1.173 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004234/0.7708, allocations: 222.9 kB / 1.173 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.7709, allocations: 140.5 kB / 1.173 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.7712, allocations: 240.9 kB / 1.173 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.7712, allocations: 37.7 kB / 1.173 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.7713, allocations: 128.4 kB / 1.174 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.7714, allocations: 35.59 kB / 1.174 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.7714, allocations: 8 kB / 1.174 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7715, allocations: 338.8 kB / 1.174 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.7718, allocations: 140.2 kB / 1.174 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.7721, allocations: 230.6 kB / 1.174 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.7726, allocations: 361 kB / 1.175 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7726, allocations: 0 / 1.175 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008184/0.7734, allocations: 0.5558 MB / 1.175 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/0.7735, allocations: 138.8 kB / 1.175 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7735, allocations: 0 / 1.175 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.7735, allocations: 4 kB / 1.175 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.7736, allocations: 15.94 kB / 1.175 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7736, allocations: 3.938 kB / 1.175 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.7742, allocations: 163.9 kB / 1.176 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.7743, allocations: 27.98 kB / 1.176 GB, free: 5.012 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.7745, allocations: 150.9 kB / 1.176 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.7745, allocations: 19.8 kB / 1.176 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.7745, allocations: 21.25 kB / 1.176 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.7746, allocations: 0 / 1.176 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7746, allocations: 4 kB / 1.176 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.7746, allocations: 7.922 kB / 1.176 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.7748, allocations: 261.4 kB / 1.176 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7748, allocations: 0 / 1.176 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.013e-05/0.7749, allocations: 19.94 kB / 1.176 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7749, allocations: 1.453 kB / 1.176 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.7749, allocations: 11.98 kB / 1.176 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.7749, allocations: 4 kB / 1.176 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7749, allocations: 0 / 1.176 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.7752, allocations: 211.4 kB / 1.176 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.7752, allocations: 104.8 kB / 1.176 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.7753, allocations: 0 / 1.176 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.7753, allocations: 11.98 kB / 1.176 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.7754, allocations: 11.92 kB / 1.176 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.7754, allocations: 12 kB / 1.176 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001362/0.7755, allocations: 164.5 kB / 1.177 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7755, allocations: 0 / 1.177 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003229/0.7759, allocations: 75.94 kB / 1.177 GB, free: 3.832 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000159/0.776, allocations: 119.1 kB / 1.177 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007093/0.7768, allocations: 0.5288 MB / 1.177 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7768, allocations: 0 / 1.177 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.7769, allocations: 63.91 kB / 1.177 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.7773, allocations: 64.83 kB / 1.177 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.778, allocations: 376.2 kB / 1.178 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.7783, allocations: 0.7284 MB / 1.178 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.689e-05/0.7784, allocations: 26.98 kB / 1.178 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.7784, allocations: 19.44 kB / 1.178 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.7784, allocations: 0 / 1.178 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of Templates: time 0.007617/0.7861, allocations: 4.24 MB / 1.183 GB, free: 13.66 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)