Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.148/2.148, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001927/0.001926, allocations: 174.2 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.458/2.458, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009627/0.000962, allocations: 90.95 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007322/0.0007327, allocations: 16.47 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2155, allocations: 106.3 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.236/0.4515, allocations: 132.2 MB / 1.029 GB, free: 13.63 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.4519, allocations: 71.95 kB / 1.029 GB, free: 13.56 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.01152/0.4635, allocations: 2.749 MB / 1.031 GB, free: 10.81 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.905e-06/0.4635, allocations: 0 / 1.031 GB, free: 10.81 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 2.152e-05/0.4635, allocations: 8.125 kB / 1.031 GB, free: 10.8 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008733/0.4644, allocations: 451.4 kB / 1.032 GB, free: 10.3 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4645, allocations: 15.91 kB / 1.032 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.4646, allocations: 16.75 kB / 1.032 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.4649, allocations: 216.8 kB / 1.032 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.4649, allocations: 8.375 kB / 1.032 GB, free: 10.01 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.465, allocations: 12.38 kB / 1.032 GB, free: 10 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.4655, allocations: 154.3 kB / 1.032 GB, free: 9.828 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4655, allocations: 192 / 1.032 GB, free: 9.828 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.4655, allocations: 11.94 kB / 1.032 GB, free: 9.816 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4655, allocations: 0 / 1.032 GB, free: 9.816 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.466, allocations: 85.94 kB / 1.032 GB, free: 9.734 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.4676, allocations: 0.7626 MB / 1.033 GB, free: 8.906 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.4679, allocations: 62.48 kB / 1.033 GB, free: 8.836 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.4681, allocations: 32.84 kB / 1.033 GB, free: 8.801 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.4681, allocations: 0 / 1.033 GB, free: 8.801 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004141/0.4685, allocations: 134.9 kB / 1.033 GB, free: 8.645 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=11): time 2.384e-06/0.4686, allocations: 0 / 1.033 GB, free: 8.645 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11): time 0.0008174/0.4694, allocations: 181.4 kB / 1.033 GB, free: 8.461 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.4695, allocations: 132.5 kB / 1.034 GB, free: 8.301 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.4698, allocations: 194.3 kB / 1.034 GB, free: 8.098 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.4699, allocations: 33.77 kB / 1.034 GB, free: 8.059 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.47, allocations: 116 kB / 1.034 GB, free: 7.941 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.4701, allocations: 31.52 kB / 1.034 GB, free: 7.91 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-06/0.4701, allocations: 3.938 kB / 1.034 GB, free: 7.906 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4702, allocations: 326.8 kB / 1.034 GB, free: 7.578 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.4705, allocations: 39.97 kB / 1.034 GB, free: 7.539 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.4708, allocations: 124 kB / 1.034 GB, free: 7.375 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.471, allocations: 63.91 kB / 1.034 GB, free: 7.312 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.471, allocations: 3.938 kB / 1.034 GB, free: 7.309 MB / 0.6824 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006573/0.4717, allocations: 193.4 kB / 1.035 GB, free: 7.113 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.4718, allocations: 7.938 kB / 1.035 GB, free: 7.105 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.4718, allocations: 4 kB / 1.035 GB, free: 7.102 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.4718, allocations: 7.938 kB / 1.035 GB, free: 7.094 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.472, allocations: 27.98 kB / 1.035 GB, free: 7.066 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.4721, allocations: 7.938 kB / 1.035 GB, free: 7.059 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.4723, allocations: 31.98 kB / 1.035 GB, free: 7.027 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.4723, allocations: 11.98 kB / 1.035 GB, free: 7.016 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0001881/0.4725, allocations: 125.8 kB / 1.035 GB, free: 6.883 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.4726, allocations: 23.69 kB / 1.035 GB, free: 6.859 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.785e-05/0.4727, allocations: 25.39 kB / 1.035 GB, free: 6.832 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4727, allocations: 0 / 1.035 GB, free: 6.832 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4727, allocations: 0 / 1.035 GB, free: 6.832 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4727, allocations: 8 kB / 1.035 GB, free: 6.824 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.4741, allocations: 0.5288 MB / 1.035 GB, free: 6.238 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.4741, allocations: 320 / 1.035 GB, free: 6.238 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.4744, allocations: 19.98 kB / 1.035 GB, free: 6.219 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.4744, allocations: 0 / 1.035 GB, free: 6.219 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.4744, allocations: 8 kB / 1.035 GB, free: 6.211 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.4744, allocations: 0 / 1.035 GB, free: 6.211 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.4744, allocations: 7.938 kB / 1.035 GB, free: 6.203 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008825/0.4753, allocations: 380.3 kB / 1.036 GB, free: 5.809 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.4754, allocations: 93 kB / 1.036 GB, free: 5.699 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.4755, allocations: 4.047 kB / 1.036 GB, free: 5.695 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.4758, allocations: 23.97 kB / 1.036 GB, free: 5.672 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.4759, allocations: 11.92 kB / 1.036 GB, free: 5.66 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.4759, allocations: 4 kB / 1.036 GB, free: 5.656 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001799/0.4761, allocations: 139.2 kB / 1.036 GB, free: 5.52 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4761, allocations: 0 / 1.036 GB, free: 5.52 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0004417/0.4766, allocations: 24 kB / 1.036 GB, free: 5.496 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0002051/0.4768, allocations: 111.2 kB / 1.036 GB, free: 5.379 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0005556/0.4773, allocations: 119.9 kB / 1.036 GB, free: 5.262 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4774, allocations: 0 / 1.036 GB, free: 5.262 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.4776, allocations: 52.72 kB / 1.036 GB, free: 5.211 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007142/0.4784, allocations: 55.02 kB / 1.036 GB, free: 5.16 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.4798, allocations: 382.7 kB / 1.037 GB, free: 4.75 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.4804, allocations: 0.7205 MB / 1.037 GB, free: 4.004 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.4806, allocations: 13.42 kB / 1.038 GB, free: 3.988 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.276e-05/0.4808, allocations: 15.44 kB / 1.038 GB, free: 3.977 MB / 0.6824 GB Notification: Performance of SimCode: time 1.233e-06/0.4808, allocations: 0 / 1.038 GB, free: 3.977 MB / 0.6824 GB Notification: Performance of Templates: time 0.01052/0.4913, allocations: 1.427 MB / 1.039 GB, free: 2.562 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)