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.001815/0.001815, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002195/0.002195, allocations: 209.4 kB / 22.99 MB, free: 4.957 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.299/3.299, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.002054/0.002054, allocations: 64.53 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3435, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002869/0.3464, allocations: 1.572 MB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.348, allocations: 0.8685 MB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.239e-05/0.348, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.3483, allocations: 63.67 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004814/0.3488, allocations: 139.3 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.48e-05/0.3488, allocations: 3.984 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004635/0.3493, allocations: 379.6 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.329e-05/0.3493, allocations: 12.94 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.3496, allocations: 163.3 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.3498, allocations: 131.3 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.3499, allocations: 16 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.797e-05/0.3499, allocations: 16 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-05/0.35, allocations: 55.69 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.3501, allocations: 103.5 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.3505, allocations: 290.7 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3505, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3505, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.3505, allocations: 4 kB / 1.331 GB, free: 13.23 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.001197/0.3517, allocations: 0.5679 MB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3518, allocations: 8.031 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.3518, allocations: 32.75 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/0.3524, allocations: 340.7 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3524, allocations: 384 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.3524, allocations: 8.312 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.3526, allocations: 105.4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3526, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3526, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3526, allocations: 3.938 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.3528, allocations: 71.88 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.3531, allocations: 271.9 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.3533, allocations: 106.3 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.668e-05/0.3534, allocations: 63.45 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.3534, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.3534, allocations: 38.56 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.3534, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003694/0.3538, allocations: 197.6 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/0.3539, allocations: 128.5 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.3546, allocations: 0.5093 MB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3546, allocations: 29.7 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.3547, allocations: 168 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.3548, allocations: 15.91 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.3548, allocations: 13.72 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.355, allocations: 350.8 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.3551, allocations: 27.97 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-05/0.3552, allocations: 63.39 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.3553, allocations: 107.3 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3553, allocations: 0 / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002395/0.3556, allocations: 145.4 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3556, allocations: 4 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3556, allocations: 7.938 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3556, allocations: 0 / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.3557, allocations: 16.11 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3557, allocations: 7.938 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.3559, allocations: 11.98 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3559, allocations: 3.984 kB / 1.334 GB, free: 9.582 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.0001933/0.3561, allocations: 182.2 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.3562, allocations: 31.77 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003845/0.3565, allocations: 199.6 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3566, allocations: 3.938 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3566, allocations: 4.125 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3566, allocations: 4 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.3568, allocations: 225.2 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3569, allocations: 0 / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.772e-05/0.3569, allocations: 12 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.357, allocations: 0 / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.357, allocations: 7.984 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.357, allocations: 3.938 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.357, allocations: 0 / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.3573, allocations: 195.3 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.3574, allocations: 67.62 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.3575, allocations: 8 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.3576, allocations: 15.91 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3577, allocations: 4 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3577, allocations: 4 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004926/0.3582, allocations: 399 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3582, allocations: 0 / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002588/0.3584, allocations: 36 kB / 1.335 GB, free: 8.137 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.0001421/0.3586, allocations: 103.2 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3588, allocations: 87.86 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3588, allocations: 0 / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.31e-05/0.3589, allocations: 47.91 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.3593, allocations: 69.08 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3604, allocations: 0.5848 MB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.3606, allocations: 215.4 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.3607, allocations: 50.25 kB / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.3608, allocations: 31.38 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3608, allocations: 0 / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of Templates: time 0.008956/0.3698, allocations: 4.202 MB / 1.341 GB, free: 2.773 MB / 1.029 GB " [Timeout remaining time 300] 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 -s cvode -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: 8.89050553800189]