Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.002183/0.002183, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002274/0.002274, allocations: 215.6 kB / 23.01 MB, free: 4.566 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.631/1.631, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.577/3.577, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") [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.002308/0.002308, allocations: 67.52 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4386, allocations: 180.2 MB / 1.354 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002972/0.4416, allocations: 1.625 MB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.4432, allocations: 0.9585 MB / 1.357 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.4433, allocations: 4 kB / 1.357 GB, free: 5.387 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.4435, allocations: 59.64 kB / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004667/0.444, allocations: 143.3 kB / 1.357 GB, free: 5.188 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.001e-05/0.4441, allocations: 15.92 kB / 1.357 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000494/0.4445, allocations: 370.3 kB / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.051e-05/0.4446, allocations: 16.92 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.4449, allocations: 151.3 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.4451, allocations: 139.4 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.4451, allocations: 12 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.761e-05/0.4452, allocations: 16 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.4453, allocations: 51.7 kB / 1.358 GB, free: 4.43 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.4454, allocations: 131.2 kB / 1.358 GB, free: 4.301 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.4457, allocations: 290.7 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4457, allocations: 3.938 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4457, allocations: 3.938 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4457, allocations: 0 / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001205/0.447, allocations: 0.5679 MB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.447, allocations: 12.03 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/0.4471, allocations: 32.75 kB / 1.359 GB, free: 3.367 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.4476, allocations: 336.7 kB / 1.359 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-06/0.4476, allocations: 384 / 1.359 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.4476, allocations: 384 / 1.359 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.4478, allocations: 113.4 kB / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.4478, allocations: 3.938 kB / 1.359 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4478, allocations: 0 / 1.359 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4478, allocations: 3.938 kB / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.448, allocations: 63.88 kB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.4484, allocations: 331.2 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.4485, allocations: 102.4 kB / 1.359 GB, free: 2.305 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.062e-05/0.4486, allocations: 59.47 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.4486, allocations: 7.969 kB / 1.36 GB, free: 2.227 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4487, allocations: 46.44 kB / 1.36 GB, free: 2.172 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.4487, allocations: 0 / 1.36 GB, free: 2.172 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003607/0.449, allocations: 185.3 kB / 1.36 GB, free: 1.984 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.133e-05/0.4491, allocations: 133 kB / 1.36 GB, free: 1.824 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/0.4498, allocations: 0.5171 MB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4498, allocations: 25.7 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.4499, allocations: 164.1 kB / 1.361 GB, free: 1.102 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.45, allocations: 11.91 kB / 1.361 GB, free: 1.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.45, allocations: 21.7 kB / 1.361 GB, free: 1.062 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4502, allocations: 342.8 kB / 1.361 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.4503, allocations: 35.95 kB / 1.361 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.4503, allocations: 59.41 kB / 1.361 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.4505, allocations: 103.3 kB / 1.361 GB, free: 0.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4505, allocations: 0 / 1.361 GB, free: 0.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002245/0.4507, allocations: 149.4 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4507, allocations: 13.03 kB / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4507, allocations: 0 / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4508, allocations: 3.938 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.4509, allocations: 11.98 kB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4509, allocations: 4 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.451, allocations: 11.94 kB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.451, allocations: 7.984 kB / 1.361 GB, free: 304 kB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 0.0001743/0.4512, allocations: 177.7 kB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.4513, allocations: 39.78 kB / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.4516, allocations: 187.6 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4516, allocations: 0 / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.4516, allocations: 4 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4516, allocations: 0 / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.4519, allocations: 276.5 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4519, allocations: 0 / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.93e-05/0.452, allocations: 12.12 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.452, allocations: 11.94 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.452, allocations: 3.984 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.452, allocations: 7.938 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.452, allocations: 0 / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.4523, allocations: 195.4 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.4525, allocations: 71.56 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.4525, allocations: 4 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.4526, allocations: 11.97 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.4527, allocations: 7.938 kB / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.4527, allocations: 8 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004822/0.4532, allocations: 395 kB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4532, allocations: 0 / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002393/0.4534, allocations: 36 kB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.0001146/0.4535, allocations: 103.2 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.4537, allocations: 83.86 kB / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4537, allocations: 0 / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.854e-05/0.4538, allocations: 43.91 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.4541, allocations: 70.12 kB / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.4552, allocations: 0.6138 MB / 1.364 GB, free: 13.83 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.4557, allocations: 0.8104 MB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.574e-05/0.4558, allocations: 23.42 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.4558, allocations: 3.938 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of Templates: time 0.006684/0.4625, allocations: 3.736 MB / 1.368 GB, free: 9.254 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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: 12.745682651991956]