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.001302/0.001302, allocations: 113 kB / 16.46 MB, free: 6.453 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.001351/0.001351, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.535/1.535, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.484/3.484, allocations: 0.49 GB / 0.7916 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.00216/0.00216, allocations: 72.84 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4677, allocations: 176.1 MB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00284/0.4705, allocations: 0.8961 MB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.4724, allocations: 1.205 MB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.614e-05/0.4725, allocations: 4 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.948e-05/0.4726, allocations: 15.81 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.4727, allocations: 15.84 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000753/0.4734, allocations: 154.5 kB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.4737, allocations: 171.6 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.4739, allocations: 29.05 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.4741, allocations: 63.84 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.4743, allocations: 63.78 kB / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.4743, allocations: 16 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.4744, allocations: 31.92 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.4745, allocations: 35.91 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.4746, allocations: 59.77 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.4749, allocations: 175.4 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4749, allocations: 0 / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.795e-06/0.4749, allocations: 0 / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.4749, allocations: 0 / 1.324 GB, free: 15.83 MB / 1.029 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.000902/0.4758, allocations: 460.6 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.4759, allocations: 15.98 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.626e-05/0.476, allocations: 16.89 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/0.4766, allocations: 250 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.4766, allocations: 12.31 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.4767, allocations: 8.375 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.4769, allocations: 94.14 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.4769, allocations: 3.938 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.477, allocations: 8 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.477, allocations: 3.984 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.4772, allocations: 43.95 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000839/0.478, allocations: 396.5 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.4781, allocations: 38.56 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.4782, allocations: 28.95 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.4783, allocations: 0 / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.4785, allocations: 91.3 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.4785, allocations: 0 / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004951/0.479, allocations: 145.4 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.4791, allocations: 59.34 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.4792, allocations: 143.5 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.4792, allocations: 33.64 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.4793, allocations: 108 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.4794, allocations: 31.88 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.4795, allocations: 49.7 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4796, allocations: 322.8 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.4798, allocations: 47.95 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.48, allocations: 134.8 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.4804, allocations: 200.6 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4804, allocations: 8 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005166/0.4809, allocations: 242.9 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.481, allocations: 37.7 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.481, allocations: 4.375 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.481, allocations: 8 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.4811, allocations: 23.98 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.4811, allocations: 11.88 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.4814, allocations: 39.84 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.4814, allocations: 12 kB / 1.327 GB, free: 12.43 MB / 1.029 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.0001425/0.4815, allocations: 132.9 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.4815, allocations: 11.95 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.4816, allocations: 16.66 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4816, allocations: 0 / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.4816, allocations: 3.938 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4816, allocations: 0 / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/0.4822, allocations: 394.4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4822, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.4823, allocations: 19.98 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4823, allocations: 3.938 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4824, allocations: 8 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4824, allocations: 480 / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4824, allocations: 0 / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.4828, allocations: 243.2 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.4829, allocations: 96.94 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.4829, allocations: 0 / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.483, allocations: 12.03 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.483, allocations: 7.984 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.4831, allocations: 4 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.448e-05/0.4831, allocations: 108.9 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4831, allocations: 0 / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002897/0.4834, allocations: 31.98 kB / 1.328 GB, free: 11.26 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.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.0002259/0.4837, allocations: 119.1 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.4841, allocations: 163.2 kB / 1.328 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4841, allocations: 0 / 1.328 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.4842, allocations: 40.66 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.4845, allocations: 23.97 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.4851, allocations: 276.4 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.4855, allocations: 0.7084 MB / 1.329 GB, free: 9.879 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.352e-05/0.4856, allocations: 16.64 kB / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.4856, allocations: 19.42 kB / 1.33 GB, free: 9.844 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.4856, allocations: 0 / 1.33 GB, free: 9.844 MB / 1.029 GB Notification: Performance of Templates: time 0.005347/0.4909, allocations: 1.664 MB / 1.331 GB, free: 8.199 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.794171878602356]