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.001506/0.001506, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001348/0.001348, allocations: 168.9 kB / 24.86 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 1.023/1.023, allocations: 177.2 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.945/1.945, allocations: 377.9 MB / 0.6247 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.004e-06/2.004e-06, allocations: 0 / 0.8129 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.783e-05, allocations: 2.312 kB / 0.8129 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00167/0.001698, allocations: 0.872 MB / 0.8137 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003021, allocations: 1.218 MB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.00309, allocations: 1.625 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.003126, allocations: 11.86 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.881e-05/0.003215, allocations: 23.75 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.003649, allocations: 148.8 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.00388, allocations: 167.6 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.003989, allocations: 25.98 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.00413, allocations: 103.8 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.816e-05/0.004229, allocations: 48.52 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.004251, allocations: 13.06 kB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-05/0.004311, allocations: 23.98 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.00434, allocations: 20.78 kB / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.004388, allocations: 43.91 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.004563, allocations: 123.5 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004565, allocations: 1.25 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004567, allocations: 4 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.004571, allocations: 0 / 0.8156 GB, free: 14.52 MB / 0.7761 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.0005403/0.005111, allocations: 0.5139 MB / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.005146, allocations: 8.031 kB / 0.8161 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.005193, allocations: 26.36 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.005348, allocations: 164.3 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.005362, allocations: 8.375 kB / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.005388, allocations: 16.38 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.00551, allocations: 79.5 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005517, allocations: 192 / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.005529, allocations: 12.36 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.005535, allocations: 384 / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.005561, allocations: 19.92 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.005989, allocations: 337.5 kB / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.006122, allocations: 34.94 kB / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.006141, allocations: 13.06 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.006156, allocations: 4 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.006261, allocations: 89.62 kB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.006262, allocations: 0 / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0001753/0.006438, allocations: 90.19 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.006469, allocations: 57.38 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.006558, allocations: 200.4 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.006579, allocations: 33.7 kB / 0.8173 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.006646, allocations: 162.8 kB / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.006664, allocations: 23.8 kB / 0.8174 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.006719, allocations: 51.86 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.006832, allocations: 0.5 MB / 0.818 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.006894, allocations: 62.39 kB / 0.818 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.96e-05/0.006993, allocations: 173.5 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.007127, allocations: 209.9 kB / 0.8184 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.007129, allocations: 0 / 0.8184 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002292/0.007358, allocations: 235.8 kB / 0.8186 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.00739, allocations: 46.92 kB / 0.8187 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.007396, allocations: 4 kB / 0.8187 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.007406, allocations: 4.047 kB / 0.8187 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.007474, allocations: 23.97 kB / 0.8187 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.007481, allocations: 8.906 kB / 0.8187 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.902e-05/0.00758, allocations: 38.23 kB / 0.8188 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.007594, allocations: 8 kB / 0.8188 GB, free: 10.96 MB / 0.7761 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 8.735e-05/0.007681, allocations: 176.4 kB / 0.8189 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.007695, allocations: 7.953 kB / 0.8189 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.007726, allocations: 16.78 kB / 0.819 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.007728, allocations: 3.438 kB / 0.819 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.00773, allocations: 0 / 0.819 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.007735, allocations: 11.98 kB / 0.819 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.008029, allocations: 333.8 kB / 0.8193 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.008031, allocations: 4 kB / 0.8193 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.008077, allocations: 11.98 kB / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.00808, allocations: 0 / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.008088, allocations: 4 kB / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008089, allocations: 0 / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.00809, allocations: 0.6875 kB / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.00825, allocations: 252.2 kB / 0.8195 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.008261, allocations: 12.47 kB / 0.8196 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.008272, allocations: 0 / 0.8196 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.086e-05/0.008313, allocations: 12.55 kB / 0.8196 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.008341, allocations: 4.578 kB / 0.8196 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.008346, allocations: 4 kB / 0.8196 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.833e-05/0.008394, allocations: 148.6 kB / 0.8197 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008394, allocations: 0 / 0.8197 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002025/0.008597, allocations: 29.03 kB / 0.8197 GB, free: 9.891 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.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.0001343/0.008731, allocations: 111.8 kB / 0.8199 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.008904, allocations: 173.8 kB / 0.82 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008906, allocations: 0 / 0.82 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.008942, allocations: 35.59 kB / 0.8201 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.00914, allocations: 21.64 kB / 0.8201 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.009648, allocations: 251.2 kB / 0.8203 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.655e-05/0.009685, allocations: 71.69 kB / 0.8204 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.009728, allocations: 16.8 kB / 0.8204 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/0.009813, allocations: 102.2 kB / 0.8205 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.009813, allocations: 0.9688 kB / 0.8205 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of Templates: time 0.003689/0.0135, allocations: 1.948 MB / 0.8224 GB, free: 7.164 MB / 0.7761 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 -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.3455932550132275]