Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001852/0.001852, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002339/0.002339, allocations: 209.1 kB / 23.03 MB, free: 4.863 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.243/3.243, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.001999/0.001999, allocations: 63.44 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4915/0.4935, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.004788/0.4983, allocations: 1.566 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.5008, allocations: 0.8645 MB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.501, allocations: 7.938 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.5014, allocations: 55.73 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009304/0.5023, allocations: 147.2 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 6.829e-05/0.5024, allocations: 4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007741/0.5032, allocations: 366.4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.5033, allocations: 16.92 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005488/0.5039, allocations: 163.3 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.5042, allocations: 151.3 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.5042, allocations: 16 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-05/0.5043, allocations: 16 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.5044, allocations: 51.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.5046, allocations: 103.4 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.5051, allocations: 290.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5051, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5051, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5051, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 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.001477/0.5066, allocations: 0.5704 MB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.5066, allocations: 8.031 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.498e-05/0.5067, allocations: 32.75 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.5074, allocations: 332.7 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.5074, allocations: 4.375 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.5075, allocations: 4.375 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.5077, allocations: 109.3 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.5077, allocations: 7.984 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.5077, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.5077, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.5079, allocations: 67.88 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.5084, allocations: 271.9 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.5086, allocations: 102.4 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.5087, allocations: 63.39 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.5088, allocations: 8 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.5088, allocations: 34.5 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.5088, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004957/0.5093, allocations: 197.1 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.5094, allocations: 128.5 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/0.5102, allocations: 0.5093 MB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.5102, allocations: 25.7 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.5104, allocations: 164.1 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.5104, allocations: 20.38 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.5105, allocations: 21.72 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.5107, allocations: 346.8 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.5108, allocations: 31.97 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.91e-05/0.5109, allocations: 59.39 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.511, allocations: 103.3 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.5111, allocations: 0 / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002635/0.5113, allocations: 153.3 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5113, allocations: 4 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5113, allocations: 3.938 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.5114, allocations: 4 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.5115, allocations: 11.98 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.5115, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.5117, allocations: 11.92 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.5117, allocations: 8 kB / 1.334 GB, free: 9.523 MB / 1.029 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.0002495/0.512, allocations: 178.2 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.512, allocations: 35.89 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.5125, allocations: 191.6 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.5125, allocations: 7.984 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.5125, allocations: 0 / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5125, allocations: 4 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.5128, allocations: 221.2 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5128, allocations: 0 / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.513, allocations: 19.94 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.513, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.513, allocations: 8.125 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.513, allocations: 7.875 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.513, allocations: 4.078 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.5134, allocations: 195.4 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.5136, allocations: 71.59 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.5136, allocations: 8 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.5138, allocations: 11.92 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.5138, allocations: 7.984 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.5139, allocations: 4 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005504/0.5144, allocations: 399 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5144, allocations: 4 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003101/0.5147, allocations: 36 kB / 1.335 GB, free: 8.062 MB / 1.029 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.0001699/0.5149, allocations: 95.25 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002727/0.5152, allocations: 87.86 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5152, allocations: 0 / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.068e-05/0.5152, allocations: 43.91 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.5157, allocations: 70.06 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.517, allocations: 0.6021 MB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.5173, allocations: 203.4 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.5174, allocations: 31.42 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of SimCode: time 1.362e-06/0.5174, allocations: 0 / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of Templates: time 0.008454/0.5258, allocations: 3.847 MB / 1.34 GB, free: 3.043 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.81440218584612]