Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.002332/0.002332, 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.003021/0.003021, allocations: 211.8 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.565/1.565, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.8/3.8, allocations: 0.5107 GB / 0.8158 GB, free: 17.91 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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [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.00205/0.00205, allocations: 70.73 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4441, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.00212/0.4463, allocations: 0.6701 MB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.4475, allocations: 0.8436 MB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.4475, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.4475, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.175e-05/0.4476, allocations: 7.922 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.4478, allocations: 11.98 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.577e-05/0.4479, allocations: 27.86 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.4481, allocations: 4 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.4481, allocations: 8 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.4482, allocations: 15.92 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.4482, allocations: 4 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-05/0.4482, allocations: 4 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.4483, allocations: 0 / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.4483, allocations: 19.91 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.4484, allocations: 23.84 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4484, allocations: 0 / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4484, allocations: 0 / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.4484, allocations: 0 / 1.365 GB, free: 11.9 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005161/0.4489, allocations: 258.4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.449, allocations: 12.03 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.4491, allocations: 12.83 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.4492, allocations: 114.5 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4492, allocations: 384 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.4492, allocations: 384 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.4494, allocations: 46.25 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4494, allocations: 192 / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4495, allocations: 7.922 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4495, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.4496, allocations: 39.91 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.45, allocations: 192.6 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.4501, allocations: 30.56 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.059e-05/0.4502, allocations: 20.91 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.4502, allocations: 7.938 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.4503, allocations: 30.56 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4503, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003547/0.4506, allocations: 89.58 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.4507, allocations: 51.41 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.666e-05/0.4507, allocations: 105.8 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.4508, allocations: 25.7 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.4508, allocations: 88.09 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.4508, allocations: 7.891 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.4509, allocations: 17.72 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.451, allocations: 314.8 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.4511, allocations: 24.05 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/0.4512, allocations: 15.98 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.4513, allocations: 32.83 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4513, allocations: 7.922 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001949/0.4515, allocations: 69.67 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4515, allocations: 4 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4515, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4515, allocations: 4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.4516, allocations: 7.984 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.4516, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.4517, allocations: 11.98 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.4517, allocations: 0 / 1.367 GB, free: 10.11 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 (2): * Single equations (assignments): 2 * 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 8.892e-05/0.4518, allocations: 109.8 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.4518, allocations: 11.91 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.452, allocations: 76.91 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.452, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4521, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.4521, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.4522, allocations: 101.3 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4522, allocations: 4 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.4522, allocations: 11.98 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.4523, allocations: 3.938 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.4523, allocations: 4.031 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4523, allocations: 0 / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.4523, allocations: 0 / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.4525, allocations: 167.4 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.4525, allocations: 7.938 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.4525, allocations: 0 / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.4526, allocations: 7.984 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.4527, allocations: 4 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.4527, allocations: 4.031 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.682e-05/0.4527, allocations: 83.27 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4527, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002095/0.4529, allocations: 4 kB / 1.368 GB, free: 9.449 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 (2): * Single equations (assignments): 2 * 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.0001309/0.453, allocations: 91.25 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.4533, allocations: 35.97 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4533, allocations: 0 / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.371e-05/0.4534, allocations: 24.03 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.4536, allocations: 7.938 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.4539, allocations: 105.6 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.393e-05/0.454, allocations: 59.3 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.454, allocations: 7.984 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.4541, allocations: 11.44 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4541, allocations: 0 / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of Templates: time 0.002906/0.457, allocations: 473.1 kB / 1.368 GB, free: 8.602 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.999969381839037]