Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.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.001039/0.001039, 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.001055/0.001055, 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 0.9548/0.9548, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.041/2.041, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.321e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002573/0.002596, allocations: 1.899 MB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.003584, allocations: 0.5714 MB / 0.7625 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.893e-05/0.003683, allocations: 11.88 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.003812, allocations: 22.55 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.719e-05/0.003879, allocations: 32.75 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.00411, allocations: 73.31 kB / 0.7626 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.004343, allocations: 171.4 kB / 0.7628 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.004473, allocations: 42.38 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.004607, allocations: 83.73 kB / 0.7629 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.004674, allocations: 41.12 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.004699, allocations: 8 kB / 0.7629 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.004717, allocations: 12 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.004747, allocations: 29.09 kB / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.004796, allocations: 43.84 kB / 0.763 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.004948, allocations: 95.58 kB / 0.7631 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004951, allocations: 0 / 0.7631 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004952, allocations: 0.5938 kB / 0.7631 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.004956, allocations: 4.531 kB / 0.7631 GB, free: 3.496 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004847/0.005441, allocations: 366 kB / 0.7635 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.005473, allocations: 8.031 kB / 0.7635 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.005516, allocations: 28.84 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.005726, allocations: 162.7 kB / 0.7637 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.005741, allocations: 12.38 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.005768, allocations: 17.8 kB / 0.7637 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.00595, allocations: 137.1 kB / 0.7638 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.005959, allocations: 192 / 0.7638 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.005972, allocations: 5.125 kB / 0.7638 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.005981, allocations: 7.938 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.006034, allocations: 30.22 kB / 0.7639 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.006628, allocations: 0.5659 MB / 0.7644 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.921e-05/0.006687, allocations: 34.55 kB / 0.7644 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.00671, allocations: 12.86 kB / 0.7645 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.006726, allocations: 4 kB / 0.7645 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.006857, allocations: 114.1 kB / 0.7646 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/0.006859, allocations: 0 / 0.7646 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001801/0.007039, allocations: 85.53 kB / 0.7646 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/0.007246, allocations: 136.5 kB / 0.7648 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.007371, allocations: 185.2 kB / 0.765 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.007388, allocations: 29.7 kB / 0.765 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.00745, allocations: 123.8 kB / 0.7651 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.007478, allocations: 37.53 kB / 0.7651 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.007537, allocations: 45.64 kB / 0.7652 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.007627, allocations: 326.8 kB / 0.7655 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.689e-05/0.007654, allocations: 11.98 kB / 0.7655 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-05/0.007738, allocations: 124.8 kB / 0.7656 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.007889, allocations: 160.4 kB / 0.7658 GB, free: 492 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.007893, allocations: 4 kB / 0.7658 GB, free: 488 kB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001857/0.008078, allocations: 132.7 kB / 0.7659 GB, free: 352 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.008095, allocations: 7.938 kB / 0.7659 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.008103, allocations: 4.688 kB / 0.7659 GB, free: 340 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.008122, allocations: 8.656 kB / 0.7659 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.008232, allocations: 39.91 kB / 0.766 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.008241, allocations: 8.656 kB / 0.766 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.363e-05/0.008334, allocations: 19.89 kB / 0.766 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.008346, allocations: 11.09 kB / 0.766 GB, free: 256 kB / 0.7136 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,intNoReset.trigger_internal,intDef.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 8.61e-05/0.008433, allocations: 126 kB / 0.7661 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.00846, allocations: 19.97 kB / 0.7661 GB, free: 100 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.008496, allocations: 25.41 kB / 0.7662 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.008501, allocations: 4 kB / 0.7662 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.008503, allocations: 0 / 0.7662 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.008509, allocations: 5.438 kB / 0.7662 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.008907, allocations: 341.9 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008909, allocations: 0 / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.008985, allocations: 23.86 kB / 0.7665 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.00899, allocations: 8.969 kB / 0.7665 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.009002, allocations: 0 / 0.7665 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.009004, allocations: 0.7188 kB / 0.7665 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.009005, allocations: 4 kB / 0.7665 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.009214, allocations: 277 kB / 0.7668 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.009236, allocations: 20.78 kB / 0.7668 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.009254, allocations: 0 / 0.7668 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.009377, allocations: 16.92 kB / 0.7668 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.00942, allocations: 7.984 kB / 0.7668 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.009432, allocations: 11.98 kB / 0.7669 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.818e-05/0.009481, allocations: 50.62 kB / 0.7669 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009481, allocations: 0 / 0.7669 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003074/0.009788, allocations: 25.03 kB / 0.7669 GB, free: 15.25 MB / 0.7292 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.0001088/0.009897, allocations: 90.8 kB / 0.767 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.01004, allocations: 75.19 kB / 0.7671 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.01004, allocations: 4 kB / 0.7671 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/0.0101, allocations: 36.72 kB / 0.7671 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.01051, allocations: 63.92 kB / 0.7672 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.01101, allocations: 332 kB / 0.7675 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.01107, allocations: 70.94 kB / 0.7676 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.992e-05/0.01114, allocations: 21.75 kB / 0.7676 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.01125, allocations: 87.28 kB / 0.7677 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/0.01126, allocations: 0 / 0.7677 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of Templates: time 0.005064/0.01632, allocations: 2.209 MB / 0.7698 GB, free: 12.35 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_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.197015719022602]