Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001043/0.001043, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001048/0.001048, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.039/2.039, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7601 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.486e-05, allocations: 5.406 kB / 0.7601 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001421/0.001436, allocations: 0.9217 MB / 0.761 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.002663, allocations: 1.233 MB / 0.7622 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.002717, allocations: 0 / 0.7622 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.002749, allocations: 8.844 kB / 0.7622 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.002835, allocations: 26.19 kB / 0.7623 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.003194, allocations: 149.6 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.003361, allocations: 164.3 kB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.003471, allocations: 41.77 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.003607, allocations: 99.84 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.003704, allocations: 45.22 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.003727, allocations: 12 kB / 0.7628 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.129e-05/0.003798, allocations: 26.17 kB / 0.7628 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.003825, allocations: 23.91 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.003869, allocations: 43.89 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.004022, allocations: 127.5 kB / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004024, allocations: 0 / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004025, allocations: 0 / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.004029, allocations: 1.562 kB / 0.763 GB, free: 3.637 MB / 0.7136 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.0004904/0.004519, allocations: 350.2 kB / 0.7633 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.004549, allocations: 9.281 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.004589, allocations: 20.92 kB / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.004738, allocations: 158.4 kB / 0.7635 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.00475, allocations: 8.359 kB / 0.7635 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.004774, allocations: 17.31 kB / 0.7635 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.004888, allocations: 82.91 kB / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.004896, allocations: 1.219 kB / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.004904, allocations: 384 / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.00491, allocations: 4.375 kB / 0.7636 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.735e-05/0.004938, allocations: 20.55 kB / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.005286, allocations: 222.5 kB / 0.7638 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.761e-05/0.005324, allocations: 38.44 kB / 0.7639 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.005341, allocations: 8.859 kB / 0.7639 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.005357, allocations: 3.938 kB / 0.7639 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.99e-05/0.005447, allocations: 82.17 kB / 0.764 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.005448, allocations: 0 / 0.764 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001226/0.005571, allocations: 77.59 kB / 0.764 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.005597, allocations: 51.41 kB / 0.7641 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.005674, allocations: 148.1 kB / 0.7642 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.005691, allocations: 25.7 kB / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.005741, allocations: 116.1 kB / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.005758, allocations: 32.86 kB / 0.7644 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.005809, allocations: 49.66 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.005885, allocations: 322.8 kB / 0.7647 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.005935, allocations: 58.62 kB / 0.7648 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.006011, allocations: 132.8 kB / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.006127, allocations: 174.2 kB / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.00613, allocations: 3.938 kB / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001635/0.006293, allocations: 211.3 kB / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.006326, allocations: 33.7 kB / 0.7653 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.006332, allocations: 4 kB / 0.7653 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.006345, allocations: 4 kB / 0.7653 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.006406, allocations: 24.67 kB / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.006413, allocations: 11.92 kB / 0.7654 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.491e-05/0.006508, allocations: 29.28 kB / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.006522, allocations: 8 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 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 6.564e-05/0.006588, allocations: 132.8 kB / 0.7655 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.006601, allocations: 13.3 kB / 0.7655 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.006624, allocations: 12.78 kB / 0.7656 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006626, allocations: 0 / 0.7656 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.006627, allocations: 5.469 kB / 0.7656 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.00663, allocations: 0 / 0.7656 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.006856, allocations: 242.7 kB / 0.7658 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006857, allocations: 0 / 0.7658 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.006898, allocations: 16.64 kB / 0.7658 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.0069, allocations: 0.6562 kB / 0.7658 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.006911, allocations: 4 kB / 0.7658 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.006912, allocations: 1.156 kB / 0.7658 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006913, allocations: 0 / 0.7658 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.007045, allocations: 183.3 kB / 0.766 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.007057, allocations: 12.91 kB / 0.766 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.007069, allocations: 4 kB / 0.766 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.581e-05/0.007105, allocations: 0.5938 kB / 0.766 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.007139, allocations: 15.97 kB / 0.766 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.007145, allocations: 4.594 kB / 0.766 GB, free: 212 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.412e-05/0.007169, allocations: 27.66 kB / 0.766 GB, free: 184 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007169, allocations: 0 / 0.766 GB, free: 184 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001758/0.007345, allocations: 33.44 kB / 0.7661 GB, free: 152 kB / 0.7136 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.0001123/0.007458, allocations: 92.39 kB / 0.7662 GB, free: 52 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.007632, allocations: 172.1 kB / 0.7663 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.007636, allocations: 0 / 0.7663 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.007673, allocations: 34 kB / 0.7664 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.007822, allocations: 29.61 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.008146, allocations: 237.8 kB / 0.7666 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.546e-05/0.008181, allocations: 67.84 kB / 0.7667 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.912e-05/0.00823, allocations: 16.58 kB / 0.7667 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.008311, allocations: 79.34 kB / 0.7668 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.008312, allocations: 2.938 kB / 0.7668 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of Templates: time 0.003842/0.01215, allocations: 1.844 MB / 0.7686 GB, free: 13.65 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.183916455134749]