Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.607/1.607, allocations: 297.8 MB / 313.7 MB, free: 164 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.0008745/0.0008745, allocations: 180.5 kB / 384.6 MB, free: 10.89 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.37/1.37, allocations: 223.2 MB / 0.6626 GB, free: 4.195 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.0007333/0.0007334, allocations: 97.48 kB / 0.7808 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003953, allocations: 12 kB / 0.9088 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5603/0.5607, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.7247, allocations: 141.9 MB / 1.165 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.725, allocations: 70.67 kB / 1.165 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008579/0.7336, allocations: 3.306 MB / 1.168 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7336, allocations: 1.344 kB / 1.168 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.7336, allocations: 0 / 1.168 GB, free: 15.43 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.000502/0.7341, allocations: 450.9 kB / 1.169 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.7342, allocations: 8.031 kB / 1.169 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.7342, allocations: 13.41 kB / 1.169 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.7343, allocations: 182.2 kB / 1.169 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.7344, allocations: 10.19 kB / 1.169 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.7344, allocations: 17.02 kB / 1.169 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.7346, allocations: 95.31 kB / 1.169 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.7347, allocations: 1.25 kB / 1.169 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.7347, allocations: 8.547 kB / 1.169 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.7347, allocations: 4.016 kB / 1.169 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.7349, allocations: 68.45 kB / 1.169 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.7357, allocations: 435.5 kB / 1.169 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.7358, allocations: 46.17 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.7359, allocations: 37.81 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.736, allocations: 0.6562 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.7362, allocations: 112.3 kB / 1.17 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.7362, allocations: 0.625 kB / 1.17 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0004192/0.7366, allocations: 173.2 kB / 1.17 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.7367, allocations: 52.06 kB / 1.17 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.7368, allocations: 157.4 kB / 1.17 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.7369, allocations: 30.41 kB / 1.17 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.7369, allocations: 109.6 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.737, allocations: 26.2 kB / 1.17 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/0.737, allocations: 8 kB / 1.17 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.7371, allocations: 320.9 kB / 1.17 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.7372, allocations: 62.59 kB / 1.17 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.7374, allocations: 135.7 kB / 1.171 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.7378, allocations: 215 kB / 1.171 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7378, allocations: 0.5156 kB / 1.171 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004773/0.7383, allocations: 263.6 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.7383, allocations: 35.39 kB / 1.171 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7383, allocations: 7.938 kB / 1.171 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.7383, allocations: 6 kB / 1.171 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.7385, allocations: 33.09 kB / 1.171 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.7385, allocations: 8.5 kB / 1.171 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.7387, allocations: 54.06 kB / 1.171 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.7387, allocations: 13.78 kB / 1.171 GB, free: 12.29 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: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,intDef.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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.753e-05/0.7388, allocations: 132.7 kB / 1.171 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.7389, allocations: 8.562 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.7389, allocations: 18.59 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7389, allocations: 3.562 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7389, allocations: 3.938 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7389, allocations: 1.344 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.7395, allocations: 426.3 kB / 1.172 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7395, allocations: 0 / 1.172 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.803e-05/0.7396, allocations: 19.88 kB / 1.172 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7396, allocations: 4.547 kB / 1.172 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.7396, allocations: 9.547 kB / 1.172 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.7396, allocations: 4.656 kB / 1.172 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7396, allocations: 0 / 1.172 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.7401, allocations: 267.9 kB / 1.172 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.7401, allocations: 89.56 kB / 1.172 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.7401, allocations: 8.453 kB / 1.172 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.7402, allocations: 12.86 kB / 1.172 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.7403, allocations: 7.188 kB / 1.172 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.7403, allocations: 5.125 kB / 1.172 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.25e-05/0.7404, allocations: 117.6 kB / 1.172 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7404, allocations: 0 / 1.172 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002783/0.7407, allocations: 41.08 kB / 1.172 GB, free: 11.13 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (intDef.trigger,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0001731/0.7408, allocations: 115.1 kB / 1.172 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.7412, allocations: 211.9 kB / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7412, allocations: 1.5 kB / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.7414, allocations: 40.25 kB / 1.173 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.7417, allocations: 20.67 kB / 1.173 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.7422, allocations: 294.7 kB / 1.173 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.7424, allocations: 0.7102 MB / 1.174 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.712e-05/0.7425, allocations: 10.95 kB / 1.174 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.7425, allocations: 13.12 kB / 1.174 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.7425, allocations: 0 / 1.174 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of Templates: time 0.005044/0.7476, allocations: 1.599 MB / 1.175 GB, free: 8.879 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)