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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 106.6 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 249.9 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7634 GB, free: 15.26 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,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=511,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: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 63.89 kB / 1.108 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233/1.236, allocations: 168.7 MB / 1.272 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002348/1.238, allocations: 0.882 MB / 1.273 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00188/1.24, allocations: 1.183 MB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.209e-05/1.24, allocations: 1.844 kB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/1.24, allocations: 9.469 kB / 1.274 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/1.24, allocations: 20.52 kB / 1.275 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/1.241, allocations: 157.6 kB / 1.275 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/1.241, allocations: 166 kB / 1.275 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/1.241, allocations: 28.62 kB / 1.275 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/1.241, allocations: 73.28 kB / 1.275 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/1.241, allocations: 71.67 kB / 1.275 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/1.241, allocations: 14.62 kB / 1.275 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.908e-05/1.241, allocations: 25.98 kB / 1.275 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/1.242, allocations: 26.48 kB / 1.275 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.484e-05/1.242, allocations: 66.16 kB / 1.275 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/1.242, allocations: 167.8 kB / 1.275 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.242, allocations: 0.7812 kB / 1.275 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.674e-06/1.242, allocations: 0 / 1.275 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.256e-05/1.242, allocations: 0 / 1.275 GB, free: 6.348 MB / 0.9981 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.0006798/1.243, allocations: 460 kB / 1.276 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.243, allocations: 13.72 kB / 1.276 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/1.243, allocations: 25.22 kB / 1.276 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/1.243, allocations: 249.8 kB / 1.276 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/1.243, allocations: 9.594 kB / 1.276 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/1.243, allocations: 22.23 kB / 1.276 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/1.243, allocations: 82.81 kB / 1.276 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.243, allocations: 4.719 kB / 1.276 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/1.243, allocations: 6.156 kB / 1.276 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.243, allocations: 1.719 kB / 1.276 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/1.244, allocations: 50.75 kB / 1.276 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/1.244, allocations: 388.5 kB / 1.277 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/1.245, allocations: 35.12 kB / 1.277 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/1.245, allocations: 27.64 kB / 1.277 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/1.245, allocations: 1.219 kB / 1.277 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/1.245, allocations: 101.9 kB / 1.277 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/1.245, allocations: 0 / 1.277 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004482/1.245, allocations: 130.3 kB / 1.277 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/1.245, allocations: 65.62 kB / 1.277 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/1.245, allocations: 140.3 kB / 1.277 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/1.245, allocations: 36.58 kB / 1.277 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/1.246, allocations: 106.2 kB / 1.277 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/1.246, allocations: 28.42 kB / 1.277 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.072e-05/1.246, allocations: 45.81 kB / 1.277 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.676e-05/1.246, allocations: 320.6 kB / 1.278 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/1.246, allocations: 50.86 kB / 1.278 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/1.246, allocations: 131.8 kB / 1.278 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/1.246, allocations: 204 kB / 1.278 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.246, allocations: 1.031 kB / 1.278 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004953/1.247, allocations: 251.3 kB / 1.278 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/1.247, allocations: 34.78 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.247, allocations: 3.25 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.247, allocations: 3.812 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/1.247, allocations: 27.56 kB / 1.278 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.247, allocations: 12.92 kB / 1.278 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/1.247, allocations: 46.52 kB / 1.278 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/1.247, allocations: 16.12 kB / 1.278 GB, free: 3.926 MB / 0.9981 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 9.242e-05/1.247, allocations: 132.4 kB / 1.278 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/1.247, allocations: 8.547 kB / 1.278 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/1.247, allocations: 14.78 kB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.247, allocations: 1.312 kB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.247, allocations: 4.812 kB / 1.278 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/1.247, allocations: 0 / 1.278 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/1.248, allocations: 401.1 kB / 1.279 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.248, allocations: 0 / 1.279 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/1.248, allocations: 16.8 kB / 1.279 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/1.248, allocations: 4.812 kB / 1.279 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/1.248, allocations: 1.594 kB / 1.279 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.248, allocations: 1.547 kB / 1.279 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.248, allocations: 4.953 kB / 1.279 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/1.249, allocations: 246.2 kB / 1.279 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/1.249, allocations: 88.28 kB / 1.279 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/1.249, allocations: 5.672 kB / 1.279 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/1.249, allocations: 6.203 kB / 1.279 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/1.249, allocations: 7.266 kB / 1.279 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/1.249, allocations: 8.75 kB / 1.279 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.993e-05/1.249, allocations: 113.4 kB / 1.279 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.249, allocations: 0 / 1.279 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002973/1.249, allocations: 27.61 kB / 1.279 GB, free: 3.059 MB / 0.9981 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.0001923/1.249, allocations: 116.9 kB / 1.279 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003992/1.25, allocations: 164.2 kB / 1.28 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.25, allocations: 8.844 kB / 1.28 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/1.25, allocations: 37.44 kB / 1.28 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/1.25, allocations: 21.36 kB / 1.28 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/1.251, allocations: 295.5 kB / 1.28 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/1.251, allocations: 0.7097 MB / 1.281 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/1.251, allocations: 19.34 kB / 1.281 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.251, allocations: 0 / 1.281 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.004718/1.256, allocations: 1.744 MB / 1.282 GB, free: 1.734 MB / 0.9981 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/jenkins1/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