Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.002013/0.002013, 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.002617/0.002617, allocations: 216.7 kB / 22.25 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.678/1.678, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.626/3.626, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [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.002209/0.002209, allocations: 67.33 kB / 1.186 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4401, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002157/0.4423, allocations: 0.7008 MB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.4435, allocations: 0.828 MB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.4435, allocations: 7.875 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.4436, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.516e-05/0.4436, allocations: 11.86 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.539e-05/0.4437, allocations: 11.98 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.94e-05/0.4438, allocations: 43.91 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.4439, allocations: 8 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.585e-05/0.444, allocations: 19.92 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/0.4441, allocations: 15.92 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.4441, allocations: 4 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.4441, allocations: 8 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.4441, allocations: 7.984 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.4441, allocations: 15.94 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.4443, allocations: 51.72 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.4443, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4443, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.4443, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000598/0.4449, allocations: 282.3 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4449, allocations: 15.97 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.4449, allocations: 8.891 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.4451, allocations: 110.5 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4451, allocations: 384 / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.4451, allocations: 4.375 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.4454, allocations: 70.2 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4454, allocations: 192 / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4454, allocations: 3.938 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4454, allocations: 4 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.4457, allocations: 63.92 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.446, allocations: 216.5 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.4462, allocations: 46.55 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.4464, allocations: 44.84 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.4464, allocations: 4 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.4464, allocations: 30.56 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4464, allocations: 0 / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005214/0.447, allocations: 129.5 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.447, allocations: 55.41 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/0.4471, allocations: 117.8 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.4471, allocations: 25.7 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.4472, allocations: 92.09 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.4472, allocations: 3.953 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.4473, allocations: 13.72 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4474, allocations: 318.8 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.4476, allocations: 31.97 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.4477, allocations: 39.83 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.448, allocations: 68.8 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.448, allocations: 4 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003169/0.4483, allocations: 105.8 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4483, allocations: 4 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.4483, allocations: 4 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4483, allocations: 48 / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4484, allocations: 19.97 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.4484, allocations: 0 / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.671e-05/0.4485, allocations: 15.94 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.4485, allocations: 0 / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.192e-05/0.4486, allocations: 114.9 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.4487, allocations: 7.938 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.4487, allocations: 12 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4487, allocations: 0 / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.4487, allocations: 0 / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4487, allocations: 4 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.4488, allocations: 109.2 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4488, allocations: 0 / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/0.4489, allocations: 23.86 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4489, allocations: 0 / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4489, allocations: 0 / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4489, allocations: 3.984 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4489, allocations: 8 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.4493, allocations: 191.4 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-06/0.4493, allocations: 3.938 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.4493, allocations: 4 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4494, allocations: 7.984 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.4495, allocations: 7.984 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.4495, allocations: 0 / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.4496, allocations: 99.25 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4496, allocations: 0 / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002107/0.4498, allocations: 4 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001262/0.4499, allocations: 95.25 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.4502, allocations: 71.86 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4502, allocations: 0 / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.4504, allocations: 39.91 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.4507, allocations: 7.984 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.451, allocations: 117.6 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.4511, allocations: 71.23 kB / 1.368 GB, free: 8.602 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.399e-05/0.4511, allocations: 4 kB / 1.368 GB, free: 8.598 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.4511, allocations: 15.42 kB / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4511, allocations: 3.938 kB / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of Templates: time 0.003147/0.4543, allocations: 0.7441 MB / 1.369 GB, free: 7.848 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 10.031269548460841]