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.001608/0.001608, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001763/0.001763, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.513/1.513, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.924/2.924, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.002052/0.002052, allocations: 67.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19/1.192, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002502/1.195, allocations: 1.606 MB / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001234/1.196, allocations: 0.9627 MB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/1.196, allocations: 3.938 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002415/1.196, allocations: 65.08 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004008/1.197, allocations: 144.7 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.164e-05/1.197, allocations: 11.92 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/1.197, allocations: 369.5 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.097e-05/1.197, allocations: 31.19 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/1.198, allocations: 150.3 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/1.198, allocations: 134.8 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/1.198, allocations: 19.78 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-05/1.198, allocations: 15.84 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/1.198, allocations: 53.98 kB / 1.325 GB, free: 22.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/1.198, allocations: 140 kB / 1.326 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/1.198, allocations: 289.2 kB / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.198, allocations: 0 / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/1.198, allocations: 0 / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.198, allocations: 0 / 1.326 GB, free: 22.62 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.0009417/1.199, allocations: 0.6424 MB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/1.199, allocations: 11.77 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/1.199, allocations: 31.03 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/1.2, allocations: 393.4 kB / 1.327 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/1.2, allocations: 1.625 kB / 1.327 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/1.2, allocations: 1.625 kB / 1.327 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/1.2, allocations: 111.1 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.2, allocations: 0 / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.2, allocations: 0.9688 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.2, allocations: 0.5938 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/1.2, allocations: 72.5 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/1.2, allocations: 347.5 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/1.201, allocations: 105 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/1.201, allocations: 61.86 kB / 1.328 GB, free: 21.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/1.201, allocations: 4.141 kB / 1.328 GB, free: 21.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/1.201, allocations: 44.16 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/1.201, allocations: 0.6562 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003581/1.201, allocations: 187 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/1.201, allocations: 130.1 kB / 1.328 GB, free: 20.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006619/1.202, allocations: 0.5172 MB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/1.202, allocations: 30.3 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/1.202, allocations: 160.5 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/1.202, allocations: 17.83 kB / 1.329 GB, free: 20.56 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/1.202, allocations: 19.11 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.457e-05/1.202, allocations: 344.8 kB / 1.329 GB, free: 20.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.21e-05/1.202, allocations: 31.05 kB / 1.329 GB, free: 20.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.159e-05/1.202, allocations: 68.92 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/1.202, allocations: 96.92 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.202, allocations: 0 / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002235/1.203, allocations: 151.2 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.203, allocations: 9.375 kB / 1.329 GB, free: 20.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.203, allocations: 4.578 kB / 1.329 GB, free: 20.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/1.203, allocations: 1.188 kB / 1.329 GB, free: 20.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/1.203, allocations: 15.06 kB / 1.329 GB, free: 20.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.203, allocations: 1.5 kB / 1.329 GB, free: 20.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/1.203, allocations: 12.91 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/1.203, allocations: 6.172 kB / 1.329 GB, free: 20.02 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.000151/1.203, allocations: 178.1 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/1.203, allocations: 42.92 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003936/1.203, allocations: 185.6 kB / 1.33 GB, free: 19.78 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/1.203, allocations: 5.781 kB / 1.33 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.203, allocations: 1.344 kB / 1.33 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/1.203, allocations: 2.469 kB / 1.33 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/1.204, allocations: 304.9 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.204, allocations: 5.969 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.234e-05/1.204, allocations: 17.47 kB / 1.33 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.204, allocations: 6.875 kB / 1.33 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/1.204, allocations: 4.75 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.204, allocations: 2.297 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.204, allocations: 0.9688 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/1.204, allocations: 194.2 kB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/1.204, allocations: 144.2 kB / 1.33 GB, free: 19.26 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/1.204, allocations: 3.375 kB / 1.33 GB, free: 19.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/1.205, allocations: 10.08 kB / 1.33 GB, free: 19.26 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/1.205, allocations: 9.312 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/1.205, allocations: 3.094 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005028/1.205, allocations: 397.2 kB / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.205, allocations: 0 / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002589/1.205, allocations: 41.19 kB / 1.331 GB, free: 19.08 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.0001097/1.205, allocations: 105.8 kB / 1.331 GB, free: 18.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000219/1.206, allocations: 87.73 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.206, allocations: 0 / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.556e-05/1.206, allocations: 42.06 kB / 1.331 GB, free: 18.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/1.206, allocations: 73.36 kB / 1.331 GB, free: 18.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.207, allocations: 0.6222 MB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/1.207, allocations: 0.8114 MB / 1.332 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/1.208, allocations: 22.11 kB / 1.332 GB, free: 17.83 MB / 1.061 GB Notification: Performance of SimCode: time 7.12e-07/1.208, allocations: 0 / 1.332 GB, free: 17.83 MB / 1.061 GB Notification: Performance of Templates: time 0.008421/1.216, allocations: 3.728 MB / 1.336 GB, free: 17.5 MB / 1.061 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.223891539004399]