Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 249.9 MB, free: 3.25 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 443.5 MB / 0.731 GB, free: 14.04 MB / 0.5763 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 75.88 kB / 1.06 GB, free: 0.582 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3452, allocations: 160.7 MB / 1.217 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003203/0.3485, allocations: 1.824 MB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.3495, allocations: 0.5533 MB / 1.219 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.753e-05/0.3496, allocations: 7.938 kB / 1.219 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.3497, allocations: 23.72 kB / 1.219 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.3498, allocations: 23.75 kB / 1.219 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.3501, allocations: 71.78 kB / 1.219 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.3503, allocations: 171.5 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3504, allocations: 33.67 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.383e-05/0.3505, allocations: 59.7 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.671e-05/0.3506, allocations: 63.64 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.3507, allocations: 12 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.3507, allocations: 8 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.3507, allocations: 27.91 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.3508, allocations: 63.61 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.351, allocations: 139.2 kB / 1.22 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.351, allocations: 0 / 1.22 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.843e-06/0.351, allocations: 0 / 1.22 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.351, allocations: 0 / 1.22 GB, free: 12.46 MB / 0.9669 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.000781/0.3518, allocations: 486.5 kB / 1.22 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3518, allocations: 8.031 kB / 1.22 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.3519, allocations: 20.84 kB / 1.22 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.3523, allocations: 240 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.3523, allocations: 12.36 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.3523, allocations: 12.38 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.3526, allocations: 154 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3526, allocations: 3.938 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3526, allocations: 4 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3527, allocations: 4 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.3529, allocations: 75.88 kB / 1.221 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000965/0.3538, allocations: 0.7278 MB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.354, allocations: 50.55 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3541, allocations: 28.83 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3541, allocations: 4 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.3544, allocations: 134.8 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3544, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0005063/0.3549, allocations: 161.4 kB / 1.222 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.355, allocations: 144.7 kB / 1.222 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.3552, allocations: 203 kB / 1.222 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3552, allocations: 25.7 kB / 1.222 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.855e-05/0.3553, allocations: 135.9 kB / 1.222 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.3553, allocations: 31.73 kB / 1.222 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.3554, allocations: 37.7 kB / 1.222 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3556, allocations: 326.8 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3557, allocations: 39.97 kB / 1.222 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.3559, allocations: 152 kB / 1.223 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.3562, allocations: 202.4 kB / 1.223 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3562, allocations: 0 / 1.223 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004078/0.3566, allocations: 209.4 kB / 1.223 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3566, allocations: 4 kB / 1.223 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3567, allocations: 4 kB / 1.223 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3567, allocations: 11.98 kB / 1.223 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.3568, allocations: 35.92 kB / 1.223 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3568, allocations: 4 kB / 1.223 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.357, allocations: 27.88 kB / 1.223 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.357, allocations: 12.19 kB / 1.223 GB, free: 8.406 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001255/0.3571, allocations: 143.3 kB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.3571, allocations: 15.91 kB / 1.223 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.3572, allocations: 17.41 kB / 1.223 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.3572, allocations: 12.17 kB / 1.223 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3572, allocations: 0 / 1.223 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3572, allocations: 7.969 kB / 1.223 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008/0.358, allocations: 0.5171 MB / 1.224 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.358, allocations: 4 kB / 1.224 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.3581, allocations: 15.98 kB / 1.224 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3581, allocations: 0 / 1.224 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3581, allocations: 4 kB / 1.224 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3581, allocations: 0 / 1.224 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3581, allocations: 7.875 kB / 1.224 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.3587, allocations: 360.3 kB / 1.224 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.3588, allocations: 93.02 kB / 1.224 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.3588, allocations: 0 / 1.224 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.3589, allocations: 20.02 kB / 1.224 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.359, allocations: 23.86 kB / 1.224 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.359, allocations: 4 kB / 1.224 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001312/0.3592, allocations: 148.2 kB / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3592, allocations: 0 / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003369/0.3595, allocations: 28 kB / 1.224 GB, free: 6.895 MB / 0.9669 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,sampleTrigger.y,$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 (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.0001444/0.3596, allocations: 103.2 kB / 1.225 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003367/0.36, allocations: 119.7 kB / 1.225 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.36, allocations: 3.938 kB / 1.225 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.3601, allocations: 52.97 kB / 1.225 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.3607, allocations: 67.52 kB / 1.225 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.3614, allocations: 381.7 kB / 1.225 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.3617, allocations: 0.728 MB / 1.226 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.3618, allocations: 19.44 kB / 1.226 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.3618, allocations: 0 / 1.226 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of Templates: time 0.004437/0.3662, allocations: 2.157 MB / 1.228 GB, free: 3.223 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches