Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.836/2.836, allocations: 287.5 MB / 302.4 MB, free: 8.402 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002087/0.002087, allocations: 187.8 kB / 371 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.4 MB / 0.6297 GB, free: 10.47 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 78.94 kB / 0.743 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004933, allocations: 19.28 kB / 0.8658 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9559/1.179, allocations: 138.2 MB / 1.113 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.18, allocations: 71.12 kB / 1.113 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08698/1.267, allocations: 17.34 MB / 1.13 GB, free: 29.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.146e-06/1.267, allocations: 0 / 1.13 GB, free: 29.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.905e-05/1.267, allocations: 3.938 kB / 1.13 GB, free: 29.43 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001821/1.269, allocations: 1.004 MB / 1.131 GB, free: 28.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.269, allocations: 7.5 kB / 1.131 GB, free: 28.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005856/1.269, allocations: 69.77 kB / 1.131 GB, free: 28.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/1.27, allocations: 210.4 kB / 1.132 GB, free: 28.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.989e-05/1.27, allocations: 46.36 kB / 1.132 GB, free: 28.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/1.27, allocations: 65.17 kB / 1.132 GB, free: 28.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/1.27, allocations: 208.6 kB / 1.132 GB, free: 28.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.271, allocations: 3.938 kB / 1.132 GB, free: 28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/1.271, allocations: 7.797 kB / 1.132 GB, free: 28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/1.271, allocations: 7.875 kB / 1.132 GB, free: 28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/1.271, allocations: 64.75 kB / 1.132 GB, free: 27.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/1.272, allocations: 0.8499 MB / 1.133 GB, free: 27.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/1.273, allocations: 324.3 kB / 1.133 GB, free: 26.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/1.273, allocations: 7.781 kB / 1.133 GB, free: 26.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007685/1.273, allocations: 453.2 kB / 1.134 GB, free: 26.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 3.507e-06/1.273, allocations: 0 / 1.134 GB, free: 26.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001935/1.275, allocations: 0.5578 MB / 1.134 GB, free: 26.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002718/1.276, allocations: 442.2 kB / 1.135 GB, free: 25.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/1.276, allocations: 260.7 kB / 1.135 GB, free: 25.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006079/1.277, allocations: 67.58 kB / 1.135 GB, free: 25.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/1.277, allocations: 159.4 kB / 1.135 GB, free: 25.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/1.277, allocations: 94.38 kB / 1.135 GB, free: 25.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/1.278, allocations: 36.91 kB / 1.135 GB, free: 25.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.278, allocations: 352.7 kB / 1.135 GB, free: 25.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/1.279, allocations: 421.5 kB / 1.136 GB, free: 25.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/1.281, allocations: 0.7037 MB / 1.137 GB, free: 24.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/1.283, allocations: 0.8187 MB / 1.137 GB, free: 24.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/1.283, allocations: 3.844 kB / 1.137 GB, free: 24.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004809/1.288, allocations: 1.698 MB / 1.139 GB, free: 23.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004064/1.288, allocations: 480.8 kB / 1.139 GB, free: 23.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.288, allocations: 11.56 kB / 1.139 GB, free: 23.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.7e-05/1.288, allocations: 15.47 kB / 1.14 GB, free: 23.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/1.288, allocations: 35.41 kB / 1.14 GB, free: 23.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/1.288, allocations: 23.45 kB / 1.14 GB, free: 23.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/1.293, allocations: 0.5459 MB / 1.14 GB, free: 22.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005153/1.293, allocations: 99.83 kB / 1.14 GB, free: 22.84 MB / 0.698 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 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005801/1.294, allocations: 227.6 kB / 1.14 GB, free: 22.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/1.294, allocations: 38.88 kB / 1.14 GB, free: 22.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/1.294, allocations: 36.89 kB / 1.14 GB, free: 22.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/1.294, allocations: 7.688 kB / 1.14 GB, free: 22.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/1.294, allocations: 3.844 kB / 1.14 GB, free: 22.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/1.294, allocations: 7.828 kB / 1.141 GB, free: 22.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/1.295, allocations: 333.7 kB / 1.141 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.295, allocations: 3.812 kB / 1.141 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/1.295, allocations: 23.36 kB / 1.141 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/1.295, allocations: 7.688 kB / 1.141 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/1.295, allocations: 19.17 kB / 1.141 GB, free: 22.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/1.295, allocations: 11.62 kB / 1.141 GB, free: 22.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.295, allocations: 3.844 kB / 1.141 GB, free: 22.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/1.296, allocations: 0.6706 MB / 1.142 GB, free: 21.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/1.296, allocations: 111.4 kB / 1.142 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/1.296, allocations: 14.89 kB / 1.142 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/1.296, allocations: 15.08 kB / 1.142 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.296, allocations: 65.33 kB / 1.142 GB, free: 21.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/1.296, allocations: 26.58 kB / 1.142 GB, free: 21.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002201/1.297, allocations: 189.1 kB / 1.142 GB, free: 21.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.297, allocations: 0 / 1.142 GB, free: 21.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001419/1.298, allocations: 204.9 kB / 1.142 GB, free: 21.62 MB / 0.698 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 (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.0002785/1.298, allocations: 147.6 kB / 1.142 GB, free: 21.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00352/1.302, allocations: 1.743 MB / 1.144 GB, free: 20.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/1.302, allocations: 4.062 kB / 1.144 GB, free: 20.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000499/1.303, allocations: 181.9 kB / 1.144 GB, free: 20.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/1.304, allocations: 111.7 kB / 1.144 GB, free: 20.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/1.305, allocations: 0.6727 MB / 1.145 GB, free: 19.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/1.306, allocations: 0.7856 MB / 1.146 GB, free: 19.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002313/1.306, allocations: 42.03 kB / 1.146 GB, free: 19.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/1.306, allocations: 41.92 kB / 1.146 GB, free: 19.11 MB / 0.698 GB Notification: Performance of SimCode: time 1.203e-06/1.306, allocations: 0 / 1.146 GB, free: 19.11 MB / 0.698 GB Notification: Performance of Templates: time 0.02516/1.331, allocations: 10.84 MB / 1.156 GB, free: 13.57 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)