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.001018/0.001018, allocations: 80.75 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.001381/0.001381, allocations: 181 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 1.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.486/2.486, allocations: 438.8 MB / 0.6827 GB, free: 13.63 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.783e-06/1.783e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.629e-05, allocations: 5.828 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001591/0.001608, allocations: 0.9133 MB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.002995, allocations: 1.232 MB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.003062, allocations: 4 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.003101, allocations: 7.875 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.987e-05/0.003201, allocations: 27.72 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.003617, allocations: 143.5 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.003801, allocations: 163.7 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.003907, allocations: 37.78 kB / 0.8412 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.004052, allocations: 107.7 kB / 0.8413 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.004153, allocations: 51.88 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.00418, allocations: 8 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.004251, allocations: 23.98 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.004278, allocations: 23.91 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.00432, allocations: 39.91 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.004471, allocations: 123.5 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.004473, allocations: 3.938 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004474, allocations: 4 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.004478, allocations: 0 / 0.8415 GB, free: 11.2 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.0005138/0.004991, allocations: 354.2 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.00504, allocations: 8.625 kB / 0.8419 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.005099, allocations: 20.92 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.005359, allocations: 163.2 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.00538, allocations: 4.375 kB / 0.8421 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.005419, allocations: 16.38 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.005596, allocations: 82.91 kB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.005607, allocations: 192 / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.005616, allocations: 384 / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.005623, allocations: 4.375 kB / 0.8422 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.013e-05/0.005653, allocations: 23.92 kB / 0.8422 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.006078, allocations: 224 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.278e-05/0.006121, allocations: 26.52 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.00614, allocations: 8.859 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.006154, allocations: 0 / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.731e-05/0.006252, allocations: 83.41 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.006253, allocations: 0 / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001394/0.006392, allocations: 77.59 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.006426, allocations: 55.41 kB / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.006522, allocations: 148 kB / 0.8428 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.006541, allocations: 29.7 kB / 0.8428 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.006589, allocations: 104.1 kB / 0.8429 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.006608, allocations: 31.72 kB / 0.8429 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.006664, allocations: 49.67 kB / 0.843 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.006743, allocations: 322.8 kB / 0.8433 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/0.006798, allocations: 57.69 kB / 0.8433 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.661e-05/0.006885, allocations: 132.8 kB / 0.8435 GB, free: 9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.007002, allocations: 172.7 kB / 0.8436 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.007005, allocations: 3.938 kB / 0.8436 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001842/0.00719, allocations: 208.8 kB / 0.8438 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.007221, allocations: 35.73 kB / 0.8439 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.007231, allocations: 7.984 kB / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.007249, allocations: 7.938 kB / 0.8439 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.007324, allocations: 28.3 kB / 0.8439 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.007331, allocations: 11.98 kB / 0.8439 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.856e-05/0.007429, allocations: 27.94 kB / 0.8439 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.00745, allocations: 15.97 kB / 0.844 GB, free: 8.422 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.934e-05/0.007529, allocations: 133.7 kB / 0.8441 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.007543, allocations: 7.984 kB / 0.8441 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.007569, allocations: 12.78 kB / 0.8441 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.007572, allocations: 0 / 0.8441 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.007573, allocations: 0 / 0.8441 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007576, allocations: 4 kB / 0.8441 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.007822, allocations: 246.6 kB / 0.8444 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007824, allocations: 0 / 0.8444 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.007868, allocations: 11.98 kB / 0.8444 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.00787, allocations: 3.938 kB / 0.8444 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.007878, allocations: 4 kB / 0.8444 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.007881, allocations: 4 kB / 0.8444 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.007883, allocations: 0 / 0.8444 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.00802, allocations: 179.9 kB / 0.8445 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.008033, allocations: 11.95 kB / 0.8446 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.008044, allocations: 7.938 kB / 0.8446 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.008082, allocations: 4 kB / 0.8446 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.008112, allocations: 11.97 kB / 0.8446 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.008118, allocations: 4 kB / 0.8446 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.171e-05/0.00814, allocations: 27.23 kB / 0.8446 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00814, allocations: 0 / 0.8446 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001794/0.00832, allocations: 35.89 kB / 0.8446 GB, free: 7.68 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 0.0001108/0.00843, allocations: 92.41 kB / 0.8447 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.008595, allocations: 165.8 kB / 0.8449 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.008599, allocations: 0 / 0.8449 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.008636, allocations: 40.8 kB / 0.8449 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.008783, allocations: 23.86 kB / 0.845 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.009125, allocations: 245.6 kB / 0.8452 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.009166, allocations: 75.75 kB / 0.8453 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.796e-05/0.009204, allocations: 8.641 kB / 0.8453 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.186e-05/0.009296, allocations: 91.28 kB / 0.8454 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/0.009297, allocations: 0 / 0.8454 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of Templates: time 0.003628/0.01292, allocations: 1.838 MB / 0.8471 GB, free: 5.07 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 -s gbode -gbm=radauIIA3 -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.326700716279447]