Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001576/0.001576, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001635/0.001635, allocations: 162.7 kB / 24.87 MB, free: 8.84 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.9668/0.9668, allocations: 177.2 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.736/1.736, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.905e-05, allocations: 8.656 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002018/0.002037, allocations: 1.841 MB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007655/0.002803, allocations: 0.5528 MB / 0.7907 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.002901, allocations: 7.938 kB / 0.7907 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.003025, allocations: 23.67 kB / 0.7907 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.93e-05/0.003085, allocations: 32.41 kB / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.00327, allocations: 72.66 kB / 0.7908 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.00343, allocations: 167.4 kB / 0.791 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.003541, allocations: 42.92 kB / 0.791 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.003641, allocations: 79.8 kB / 0.7911 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.003695, allocations: 39.81 kB / 0.7911 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.003717, allocations: 12 kB / 0.7911 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.00373, allocations: 13.41 kB / 0.7911 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.003759, allocations: 27.91 kB / 0.7912 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.003798, allocations: 43.84 kB / 0.7912 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.003932, allocations: 96.64 kB / 0.7913 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.003935, allocations: 3.984 kB / 0.7913 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003936, allocations: 0 / 0.7913 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.00394, allocations: 1.531 kB / 0.7913 GB, free: 9.152 MB / 0.7448 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.0004385/0.004378, allocations: 0.5147 MB / 0.7918 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.004408, allocations: 12.03 kB / 0.7918 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.004448, allocations: 34.33 kB / 0.7918 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.004608, allocations: 182 kB / 0.792 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.00462, allocations: 8.375 kB / 0.792 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.004641, allocations: 12.38 kB / 0.792 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.004781, allocations: 153.2 kB / 0.7922 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004787, allocations: 192 / 0.7922 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.004796, allocations: 2.875 kB / 0.7922 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.004802, allocations: 7.938 kB / 0.7922 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.17e-05/0.004843, allocations: 27.91 kB / 0.7922 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.005408, allocations: 0.8636 MB / 0.7931 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.203e-05/0.00547, allocations: 44.62 kB / 0.7931 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.00549, allocations: 15.67 kB / 0.7931 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.005504, allocations: 0 / 0.7931 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.005614, allocations: 111.9 kB / 0.7932 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 8.81e-07/0.005615, allocations: 0.5312 kB / 0.7932 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001842/0.005799, allocations: 110.8 kB / 0.7933 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.00586, allocations: 136.5 kB / 0.7935 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.005974, allocations: 236.3 kB / 0.7937 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.00599, allocations: 33.7 kB / 0.7937 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.006078, allocations: 190.5 kB / 0.7939 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.006101, allocations: 33.06 kB / 0.7939 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.006148, allocations: 51.34 kB / 0.794 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.006258, allocations: 0.5001 MB / 0.7945 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.006279, allocations: 8 kB / 0.7945 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.487e-05/0.006363, allocations: 170.1 kB / 0.7946 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.006497, allocations: 208 kB / 0.7948 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006499, allocations: 0 / 0.7948 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001579/0.006657, allocations: 164.8 kB / 0.795 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.006671, allocations: 11.94 kB / 0.795 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.006676, allocations: 4 kB / 0.795 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.006686, allocations: 4 kB / 0.795 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.006765, allocations: 36.83 kB / 0.7951 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.006769, allocations: 4 kB / 0.7951 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.006833, allocations: 24.72 kB / 0.7951 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.00684, allocations: 8 kB / 0.7951 GB, free: 4.867 MB / 0.7448 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 7.457e-05/0.006915, allocations: 176.2 kB / 0.7953 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.006937, allocations: 23.84 kB / 0.7953 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.006964, allocations: 21.45 kB / 0.7953 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.006966, allocations: 4.469 kB / 0.7953 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.00697, allocations: 4.75 kB / 0.7953 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.006974, allocations: 0 / 0.7953 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.007308, allocations: 482.7 kB / 0.7958 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.007312, allocations: 7.938 kB / 0.7958 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.007357, allocations: 11.98 kB / 0.7958 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.00736, allocations: 4 kB / 0.7958 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.00737, allocations: 4.875 kB / 0.7958 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.007372, allocations: 4 kB / 0.7958 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.007374, allocations: 7.406 kB / 0.7958 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.007569, allocations: 394.2 kB / 0.7962 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.007585, allocations: 16.17 kB / 0.7962 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.007599, allocations: 4 kB / 0.7962 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.007669, allocations: 11.98 kB / 0.7962 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.007708, allocations: 15.92 kB / 0.7962 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.007714, allocations: 4 kB / 0.7962 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.565e-05/0.00777, allocations: 165.4 kB / 0.7964 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00777, allocations: 0.5 kB / 0.7964 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002089/0.007979, allocations: 28 kB / 0.7964 GB, free: 3.449 MB / 0.7448 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 7.285e-05/0.008051, allocations: 100.3 kB / 0.7965 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.008161, allocations: 85.94 kB / 0.7966 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.008164, allocations: 4.781 kB / 0.7966 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.008203, allocations: 32.95 kB / 0.7966 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.008532, allocations: 67.7 kB / 0.7967 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.00891, allocations: 342.7 kB / 0.797 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.372e-05/0.008954, allocations: 75.98 kB / 0.7971 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.719e-05/0.009001, allocations: 16.3 kB / 0.7971 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.00909, allocations: 106.2 kB / 0.7972 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.00909, allocations: 0 / 0.7972 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of Templates: time 0.003891/0.01298, allocations: 2.366 MB / 0.7995 GB, free: 264 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.849217915907502]