Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001767/0.001767, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002186/0.002186, allocations: 211.2 kB / 22.24 MB, free: 5.262 MB / 14.72 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.679/1.679, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.992/2.992, allocations: 475.9 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 70.08 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4597, allocations: 169.9 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002735/0.4624, allocations: 0.8591 MB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.4643, allocations: 1.196 MB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.4644, allocations: 0 / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.872e-05/0.4644, allocations: 7.875 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.862e-05/0.4645, allocations: 19.8 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.4652, allocations: 151.7 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.4655, allocations: 163.6 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.4656, allocations: 33.27 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.4658, allocations: 63.84 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.4659, allocations: 59.72 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.466, allocations: 16 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.466, allocations: 28 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.4661, allocations: 27.91 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.908e-05/0.4662, allocations: 59.77 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.4665, allocations: 175.3 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4665, allocations: 0 / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4665, allocations: 0 / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.4665, allocations: 3.938 kB / 1.286 GB, free: 9.078 MB / 0.9825 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.0008416/0.4673, allocations: 418 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4674, allocations: 12.03 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.4674, allocations: 16.89 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/0.468, allocations: 195.7 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.468, allocations: 8.375 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.4681, allocations: 12.38 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.4683, allocations: 86.2 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4683, allocations: 3.938 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.4683, allocations: 8 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4683, allocations: 0 / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.4685, allocations: 47.95 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007258/0.4692, allocations: 316.2 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.4694, allocations: 34.55 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.4695, allocations: 28.95 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.4695, allocations: 0 / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002946/0.4698, allocations: 99.28 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.4698, allocations: 4 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004519/0.4703, allocations: 129.5 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.4703, allocations: 59.41 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.4705, allocations: 147.8 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.4705, allocations: 33.7 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.855e-05/0.4706, allocations: 108.1 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.4706, allocations: 27.8 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.518e-05/0.4707, allocations: 45.7 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.4709, allocations: 326.8 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.471, allocations: 81.66 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.4713, allocations: 174.9 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.4716, allocations: 205 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4716, allocations: 0 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005404/0.4722, allocations: 272.7 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.4722, allocations: 40.19 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4722, allocations: 7.938 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.4722, allocations: 4 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.4724, allocations: 23.92 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.4724, allocations: 4.375 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.4726, allocations: 51.84 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.4726, allocations: 8 kB / 1.289 GB, free: 5.801 MB / 0.9825 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 0.0001318/0.4728, allocations: 129.7 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.4728, allocations: 15.94 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.4728, allocations: 8.719 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4728, allocations: 4 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4728, allocations: 0 / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.4728, allocations: 3.938 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.4734, allocations: 338.1 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4734, allocations: 0 / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.4735, allocations: 15.98 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4735, allocations: 0 / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.4735, allocations: 8 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.4735, allocations: 3.938 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.4735, allocations: 7.938 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.474, allocations: 235.4 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.474, allocations: 7.906 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.474, allocations: 11.94 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.4741, allocations: 11.97 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.4742, allocations: 7.984 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4742, allocations: 8 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.512e-05/0.4743, allocations: 99.27 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4743, allocations: 0 / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000297/0.4746, allocations: 31.92 kB / 1.29 GB, free: 4.809 MB / 0.9825 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.0001691/0.4747, allocations: 107.4 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004386/0.4752, allocations: 204.8 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4752, allocations: 0 / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.4753, allocations: 44.59 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.4756, allocations: 22.22 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.4762, allocations: 272.8 kB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.631e-05/0.4763, allocations: 89.62 kB / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.795e-05/0.4764, allocations: 16.64 kB / 1.29 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.4764, allocations: 15.44 kB / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.4764, allocations: 0 / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.005698/0.4821, allocations: 1.813 MB / 1.292 GB, free: 2.211 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.835718557238579]