Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 288.4 MB / 304.3 MB, free: 8.066 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001336, allocations: 184.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 0.6317 GB, free: 9.938 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008331/0.0008331, allocations: 96.19 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 13.03 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2783, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7157/0.9941, allocations: 138.3 MB / 1.116 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.9944, allocations: 73.91 kB / 1.116 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01605/1.01, allocations: 6.193 MB / 1.122 GB, free: 31.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/1.01, allocations: 3.938 kB / 1.122 GB, free: 31.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.194e-05/1.01, allocations: 3.969 kB / 1.122 GB, free: 31.84 MB / 0.698 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.0007398/1.011, allocations: 0.58 MB / 1.122 GB, free: 31.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.011, allocations: 11.62 kB / 1.122 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.698e-05/1.011, allocations: 36.03 kB / 1.123 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/1.012, allocations: 219.3 kB / 1.123 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/1.012, allocations: 8.062 kB / 1.123 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/1.012, allocations: 26.23 kB / 1.123 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/1.012, allocations: 128.7 kB / 1.123 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.012, allocations: 4.156 kB / 1.123 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/1.012, allocations: 7.938 kB / 1.123 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.012, allocations: 3.938 kB / 1.123 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.922e-05/1.012, allocations: 55 kB / 1.123 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008438/1.013, allocations: 0.8741 MB / 1.124 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/1.013, allocations: 117 kB / 1.124 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/1.013, allocations: 52.73 kB / 1.124 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/1.013, allocations: 0 / 1.124 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/1.013, allocations: 176.2 kB / 1.124 GB, free: 30.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/1.013, allocations: 0 / 1.124 GB, free: 30.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.000396/1.014, allocations: 225.5 kB / 1.124 GB, free: 30.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/1.014, allocations: 134.5 kB / 1.124 GB, free: 30.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/1.014, allocations: 240.9 kB / 1.125 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/1.014, allocations: 36.33 kB / 1.125 GB, free: 29.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/1.014, allocations: 143.9 kB / 1.125 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/1.014, allocations: 33.5 kB / 1.125 GB, free: 29.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/1.014, allocations: 11.09 kB / 1.125 GB, free: 29.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.015, allocations: 333.3 kB / 1.125 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/1.015, allocations: 144.3 kB / 1.125 GB, free: 29.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/1.015, allocations: 228 kB / 1.126 GB, free: 29.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/1.015, allocations: 362.9 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.015, allocations: 0 / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007605/1.016, allocations: 0.5486 MB / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.02e-05/1.016, allocations: 142 kB / 1.127 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.016, allocations: 3.844 kB / 1.127 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.016, allocations: 3.969 kB / 1.127 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/1.016, allocations: 10.45 kB / 1.127 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/1.016, allocations: 8.516 kB / 1.127 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/1.017, allocations: 156.8 kB / 1.127 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/1.017, allocations: 21.89 kB / 1.127 GB, free: 28.76 MB / 0.698 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.0001542/1.017, allocations: 155.2 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/1.017, allocations: 19.38 kB / 1.127 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/1.017, allocations: 27.17 kB / 1.127 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.017, allocations: 7.906 kB / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.017, allocations: 0 / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.017, allocations: 6.703 kB / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/1.018, allocations: 258.8 kB / 1.127 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.018, allocations: 7.75 kB / 1.127 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/1.018, allocations: 7.875 kB / 1.127 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.018, allocations: 0 / 1.127 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/1.018, allocations: 6.766 kB / 1.127 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.018, allocations: 0 / 1.127 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.018, allocations: 7.875 kB / 1.127 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/1.018, allocations: 215.4 kB / 1.127 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/1.018, allocations: 93.61 kB / 1.128 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/1.018, allocations: 6.906 kB / 1.128 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/1.018, allocations: 7.812 kB / 1.128 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/1.018, allocations: 26.09 kB / 1.128 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/1.018, allocations: 7.625 kB / 1.128 GB, free: 28.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000127/1.018, allocations: 163.6 kB / 1.128 GB, free: 28.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.018, allocations: 0 / 1.128 GB, free: 28.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003231/1.019, allocations: 73.31 kB / 1.128 GB, free: 28.11 MB / 0.698 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.0001991/1.019, allocations: 116.9 kB / 1.128 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000612/1.019, allocations: 0.5257 MB / 1.128 GB, free: 27.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.019, allocations: 0 / 1.128 GB, free: 27.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/1.02, allocations: 71.47 kB / 1.129 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/1.02, allocations: 63.14 kB / 1.129 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/1.021, allocations: 374.5 kB / 1.129 GB, free: 27.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/1.021, allocations: 0.731 MB / 1.13 GB, free: 26.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.997e-05/1.021, allocations: 18.27 kB / 1.13 GB, free: 26.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/1.021, allocations: 18.97 kB / 1.13 GB, free: 26.79 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.021, allocations: 0 / 1.13 GB, free: 26.79 MB / 0.698 GB Notification: Performance of Templates: time 0.006582/1.028, allocations: 4.254 MB / 1.134 GB, free: 25.54 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)