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.001605/0.001605, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001847/0.001847, allocations: 216.4 kB / 22.99 MB, free: 4.945 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.323/3.323, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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.002094/0.002094, allocations: 65.8 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3597, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003314/0.363, allocations: 1.566 MB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3648, allocations: 0.8656 MB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.484e-05/0.3649, allocations: 0 / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.3652, allocations: 59.67 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.3658, allocations: 151.2 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.822e-05/0.3658, allocations: 8 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005319/0.3664, allocations: 370.4 kB / 1.368 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.3664, allocations: 12.88 kB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.3668, allocations: 151.4 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.367, allocations: 151.3 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.3671, allocations: 20 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.644e-05/0.3671, allocations: 16 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.3672, allocations: 47.77 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.3674, allocations: 103.4 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.3678, allocations: 294.7 kB / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.3678, allocations: 0 / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.895e-06/0.3678, allocations: 0 / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3678, allocations: 0 / 1.368 GB, free: 9.805 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001286/0.3691, allocations: 0.5666 MB / 1.369 GB, free: 9.207 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3691, allocations: 11.97 kB / 1.369 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.197e-05/0.3692, allocations: 32.7 kB / 1.369 GB, free: 9.164 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.3698, allocations: 336.7 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3698, allocations: 384 / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.3698, allocations: 4.375 kB / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.37, allocations: 101.3 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.37, allocations: 7.984 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.37, allocations: 8 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.37, allocations: 0 / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3702, allocations: 63.88 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.3705, allocations: 275.8 kB / 1.37 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.3707, allocations: 110.3 kB / 1.37 GB, free: 8.164 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.834e-05/0.3708, allocations: 59.45 kB / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.3708, allocations: 4 kB / 1.37 GB, free: 8.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.3709, allocations: 38.5 kB / 1.37 GB, free: 8.043 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3709, allocations: 4 kB / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000396/0.3713, allocations: 189.2 kB / 1.37 GB, free: 7.848 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.3714, allocations: 132.5 kB / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006751/0.372, allocations: 0.5132 MB / 1.371 GB, free: 7.164 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3721, allocations: 25.7 kB / 1.371 GB, free: 7.133 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.3722, allocations: 160.1 kB / 1.371 GB, free: 6.973 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.3723, allocations: 19.89 kB / 1.371 GB, free: 6.953 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.3723, allocations: 21.67 kB / 1.371 GB, free: 6.926 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3725, allocations: 343.3 kB / 1.371 GB, free: 6.582 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/0.3726, allocations: 39.97 kB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-05/0.3727, allocations: 59.39 kB / 1.371 GB, free: 6.473 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3728, allocations: 99.3 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3728, allocations: 0 / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002353/0.3731, allocations: 157.3 kB / 1.372 GB, free: 6.203 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3731, allocations: 4.125 kB / 1.372 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3731, allocations: 7.938 kB / 1.372 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3731, allocations: 4 kB / 1.372 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3732, allocations: 11.98 kB / 1.372 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3732, allocations: 0 / 1.372 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3733, allocations: 7.984 kB / 1.372 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3734, allocations: 4 kB / 1.372 GB, free: 6.164 MB / 1.061 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.0001856/0.3735, allocations: 177.7 kB / 1.372 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.3736, allocations: 31.81 kB / 1.372 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003643/0.374, allocations: 191.6 kB / 1.372 GB, free: 5.754 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.374, allocations: 7.984 kB / 1.372 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.374, allocations: 0 / 1.372 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.374, allocations: 0 / 1.372 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.3743, allocations: 229.1 kB / 1.372 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3743, allocations: 4 kB / 1.372 GB, free: 5.488 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.612e-05/0.3743, allocations: 15.94 kB / 1.372 GB, free: 5.473 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3743, allocations: 0 / 1.372 GB, free: 5.473 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3744, allocations: 3.938 kB / 1.372 GB, free: 5.469 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3744, allocations: 7.938 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3744, allocations: 8.109 kB / 1.372 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.3746, allocations: 187.4 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.3748, allocations: 67.72 kB / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.3749, allocations: 7.953 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.375, allocations: 11.92 kB / 1.372 GB, free: 5.156 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.375, allocations: 11.92 kB / 1.373 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.375, allocations: 8 kB / 1.373 GB, free: 5.137 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004918/0.3755, allocations: 395 kB / 1.373 GB, free: 4.754 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3755, allocations: 0 / 1.373 GB, free: 4.754 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002575/0.3758, allocations: 40 kB / 1.373 GB, free: 4.715 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.000117/0.3759, allocations: 99.25 kB / 1.373 GB, free: 4.609 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.3761, allocations: 83.86 kB / 1.373 GB, free: 4.527 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3761, allocations: 0 / 1.373 GB, free: 4.527 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.936e-05/0.3762, allocations: 43.91 kB / 1.373 GB, free: 4.484 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.3766, allocations: 74.2 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.3776, allocations: 0.6099 MB / 1.374 GB, free: 3.758 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.3778, allocations: 207.4 kB / 1.374 GB, free: 3.539 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.3779, allocations: 23.42 kB / 1.374 GB, free: 3.516 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3779, allocations: 0 / 1.374 GB, free: 3.516 MB / 1.061 GB Notification: Performance of Templates: time 0.006205/0.3841, allocations: 3.846 MB / 1.378 GB, free: 15.69 MB / 1.076 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: 11.701209072954953]