Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9843/0.9843, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.394/2.394, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.016e-05, allocations: 4.703 kB / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001379/0.001399, allocations: 0.8545 MB / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.00272, allocations: 1.232 MB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.002781, allocations: 0 / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.923e-05/0.002821, allocations: 11.86 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.54e-05/0.002916, allocations: 23.73 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.003376, allocations: 147.5 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.003543, allocations: 163.7 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.003642, allocations: 33.8 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.003779, allocations: 107.7 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.003877, allocations: 55.86 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.003898, allocations: 8 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.647e-05/0.003954, allocations: 20 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.003983, allocations: 23.91 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.00403, allocations: 43.89 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.004186, allocations: 123.5 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004188, allocations: 0 / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004189, allocations: 0 / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.004192, allocations: 4 kB / 0.8414 GB, free: 11.22 MB / 0.8073 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.0004401/0.004632, allocations: 358.1 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.004663, allocations: 8.625 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.0047, allocations: 20.92 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.004856, allocations: 153.5 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.004868, allocations: 8.312 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.004899, allocations: 24.34 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.005007, allocations: 74.92 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.005013, allocations: 192 / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.005024, allocations: 8.359 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.00503, allocations: 12.38 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/0.005052, allocations: 15.31 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.005412, allocations: 228 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.00545, allocations: 26.52 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.005465, allocations: 12.98 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.005478, allocations: 3.984 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.207e-05/0.00556, allocations: 75.31 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.005562, allocations: 4 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001236/0.005686, allocations: 77.59 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.005713, allocations: 51.41 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.00579, allocations: 148.6 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.005809, allocations: 33.7 kB / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.005853, allocations: 104.1 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.00587, allocations: 27.73 kB / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.005921, allocations: 49.66 kB / 0.8429 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.005998, allocations: 322.8 kB / 0.8432 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.096e-05/0.006049, allocations: 57.69 kB / 0.8433 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.006128, allocations: 132.8 kB / 0.8434 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.00624, allocations: 172.7 kB / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.006243, allocations: 3.938 kB / 0.8436 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001635/0.006406, allocations: 204.7 kB / 0.8437 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.006431, allocations: 37.69 kB / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.006436, allocations: 7.938 kB / 0.8438 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.006449, allocations: 8.375 kB / 0.8438 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.006507, allocations: 23.92 kB / 0.8438 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.006511, allocations: 4 kB / 0.8438 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/0.006601, allocations: 31.94 kB / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.006614, allocations: 7.984 kB / 0.8439 GB, free: 8.453 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/0.006684, allocations: 133.7 kB / 0.844 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.006696, allocations: 11.98 kB / 0.844 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.006718, allocations: 8.781 kB / 0.844 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.00672, allocations: 8 kB / 0.844 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006722, allocations: 0 / 0.844 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.006725, allocations: 0 / 0.844 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.006934, allocations: 250.6 kB / 0.8443 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.006936, allocations: 0 / 0.8443 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.006972, allocations: 8 kB / 0.8443 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.006976, allocations: 8 kB / 0.8443 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.006983, allocations: 0 / 0.8443 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006984, allocations: 0 / 0.8443 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006985, allocations: 3.938 kB / 0.8443 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.007106, allocations: 183.9 kB / 0.8445 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.007115, allocations: 7.953 kB / 0.8445 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.007126, allocations: 4 kB / 0.8445 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.716e-05/0.007163, allocations: 7.984 kB / 0.8445 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.00719, allocations: 15.92 kB / 0.8445 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.007194, allocations: 0 / 0.8445 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.153e-05/0.007216, allocations: 30.55 kB / 0.8445 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007216, allocations: 0 / 0.8445 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001649/0.007381, allocations: 39.88 kB / 0.8446 GB, free: 7.699 MB / 0.8073 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 (sampleTrigger.y,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.242e-05/0.007473, allocations: 84.42 kB / 0.8446 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.007619, allocations: 172.6 kB / 0.8448 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.007622, allocations: 4 kB / 0.8448 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.244e-05/0.007655, allocations: 32.72 kB / 0.8448 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.007787, allocations: 27.91 kB / 0.8449 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.008116, allocations: 249.6 kB / 0.8451 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.799e-05/0.008154, allocations: 71.73 kB / 0.8452 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.008192, allocations: 20.53 kB / 0.8452 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.078e-05/0.008273, allocations: 83.34 kB / 0.8453 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of SimCode: time 4.11e-07/0.008274, allocations: 0 / 0.8453 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of Templates: time 0.003223/0.0115, allocations: 1.837 MB / 0.8471 GB, free: 5.09 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2785746566951275]