Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.614/1.614, allocations: 297.8 MB / 313.7 MB, free: 128 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.0008743/0.0008743, allocations: 183 kB / 384.6 MB, free: 10.85 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.268/1.268, allocations: 223.2 MB / 0.6626 GB, free: 4.34 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.0008386/0.0008386, allocations: 97.38 kB / 0.7808 GB, free: 43.82 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004123, allocations: 14.09 kB / 0.9088 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.685/0.6854, allocations: 120.3 MB / 1.026 GB, free: 57 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1804/0.8659, allocations: 141.4 MB / 1.164 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.8662, allocations: 71.97 kB / 1.165 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005291/0.8715, allocations: 2.009 MB / 1.166 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8715, allocations: 0.5625 kB / 1.166 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.8715, allocations: 4 kB / 1.166 GB, free: 14.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003788/0.8719, allocations: 390 kB / 1.167 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.8719, allocations: 16.02 kB / 1.167 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.872, allocations: 8.844 kB / 1.167 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.8721, allocations: 176.3 kB / 1.167 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.8722, allocations: 384 / 1.167 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.8722, allocations: 8.375 kB / 1.167 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.711e-05/0.8723, allocations: 50.19 kB / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.8723, allocations: 192 / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.8723, allocations: 3.938 kB / 1.167 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8723, allocations: 1.547 kB / 1.167 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.8724, allocations: 15.98 kB / 1.167 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.8728, allocations: 324.9 kB / 1.167 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.704e-05/0.8729, allocations: 34.45 kB / 1.167 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.473e-05/0.8729, allocations: 16.86 kB / 1.167 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.8729, allocations: 3.984 kB / 1.167 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.8731, allocations: 63.39 kB / 1.168 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.8731, allocations: 0 / 1.168 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001872/0.8733, allocations: 74.2 kB / 1.168 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.8733, allocations: 59.34 kB / 1.168 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.8734, allocations: 126.9 kB / 1.168 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.8735, allocations: 25.7 kB / 1.168 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.8735, allocations: 92.08 kB / 1.168 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.8736, allocations: 11.91 kB / 1.168 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-06/0.8736, allocations: 0 / 1.168 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8737, allocations: 322.8 kB / 1.168 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.8738, allocations: 35.98 kB / 1.168 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/0.8739, allocations: 58.5 kB / 1.168 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.874, allocations: 100.1 kB / 1.168 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.874, allocations: 0 / 1.168 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002454/0.8743, allocations: 167.2 kB / 1.169 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.8743, allocations: 37.69 kB / 1.169 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.8743, allocations: 4 kB / 1.169 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8743, allocations: 0 / 1.169 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.8744, allocations: 4 kB / 1.169 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.8744, allocations: 0 / 1.169 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.8746, allocations: 36.59 kB / 1.169 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.8746, allocations: 12.05 kB / 1.169 GB, free: 12.28 MB / 0.7448 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,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.209e-05/0.8747, allocations: 122.3 kB / 1.169 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.8747, allocations: 7.906 kB / 1.169 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.8748, allocations: 7.906 kB / 1.169 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.8748, allocations: 0 / 1.169 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.8748, allocations: 0.7969 kB / 1.169 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8748, allocations: 4 kB / 1.169 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.8749, allocations: 177.6 kB / 1.169 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8749, allocations: 0 / 1.169 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.8749, allocations: 3.938 kB / 1.169 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.8749, allocations: 4 kB / 1.169 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.875, allocations: 0 / 1.169 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.875, allocations: 0 / 1.169 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.875, allocations: 3.984 kB / 1.169 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.8751, allocations: 96.42 kB / 1.169 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.8751, allocations: 85.11 kB / 1.169 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.8752, allocations: 0 / 1.169 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.694e-05/0.8752, allocations: 0 / 1.169 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.8752, allocations: 7.984 kB / 1.169 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.8752, allocations: 4 kB / 1.169 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.139e-05/0.8753, allocations: 96.58 kB / 1.169 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8753, allocations: 0 / 1.169 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002024/0.8755, allocations: 27.94 kB / 1.169 GB, free: 11.55 MB / 0.7448 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 (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.0001614/0.8757, allocations: 119.1 kB / 1.169 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.8759, allocations: 131.4 kB / 1.17 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8759, allocations: 4 kB / 1.17 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/0.876, allocations: 15.94 kB / 1.17 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.8762, allocations: 15.92 kB / 1.17 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.8765, allocations: 163.2 kB / 1.17 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.8768, allocations: 0.6865 MB / 1.17 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.8768, allocations: 4 kB / 1.17 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.8768, allocations: 11.44 kB / 1.17 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.8768, allocations: 0 / 1.17 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of Templates: time 0.003198/0.88, allocations: 1.255 MB / 1.172 GB, free: 9.113 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)