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.001725/0.001725, allocations: 78.25 kB / 19.76 MB, free: 2.031 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.002111/0.002111, allocations: 158.2 kB / 23.01 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.508/1.508, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.881/2.881, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 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.002153/0.002153, allocations: 63.89 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8858/0.8879, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002608/0.8906, allocations: 1.576 MB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.8919, allocations: 0.8581 MB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.892, allocations: 9.344 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.8923, allocations: 59.86 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.8928, allocations: 148.3 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.64e-05/0.8928, allocations: 4.062 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000436/0.8932, allocations: 376 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.681e-05/0.8933, allocations: 16.47 kB / 1.19 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.8936, allocations: 152.5 kB / 1.19 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.8938, allocations: 147 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.8938, allocations: 19.81 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.974e-05/0.8939, allocations: 15.38 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.152e-05/0.894, allocations: 46.59 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.8941, allocations: 107.6 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.8944, allocations: 285.1 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8944, allocations: 0 / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.564e-06/0.8944, allocations: 1.625 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.8945, allocations: 0 / 1.19 GB, free: 13.94 MB / 1.076 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.0009806/0.8954, allocations: 0.5664 MB / 1.191 GB, free: 13.51 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.8955, allocations: 9.094 kB / 1.191 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.8955, allocations: 34.27 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.896, allocations: 335.9 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.896, allocations: 1.438 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.896, allocations: 5.562 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.8961, allocations: 106.1 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.8962, allocations: 5.094 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.8962, allocations: 3.938 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.8962, allocations: 1.5 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.8963, allocations: 71.34 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.8966, allocations: 267.7 kB / 1.192 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.996e-05/0.8967, allocations: 107.6 kB / 1.192 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.8968, allocations: 66.03 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.8968, allocations: 2.219 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.8968, allocations: 38.38 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.8968, allocations: 4 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.000317/0.8971, allocations: 185.3 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.8971, allocations: 132.1 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.8977, allocations: 0.5145 MB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.8977, allocations: 27.59 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.8978, allocations: 160.3 kB / 1.193 GB, free: 12.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.8978, allocations: 19.16 kB / 1.193 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.8979, allocations: 21.64 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.898, allocations: 347.5 kB / 1.193 GB, free: 11.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.898, allocations: 38.53 kB / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.8981, allocations: 65.16 kB / 1.193 GB, free: 11.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.8982, allocations: 97.11 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8982, allocations: 0 / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002068/0.8984, allocations: 146.9 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.8985, allocations: 7.969 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.8985, allocations: 9.609 kB / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8985, allocations: 1.094 kB / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.8986, allocations: 15.8 kB / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.8986, allocations: 0.7188 kB / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.8987, allocations: 11.02 kB / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.8987, allocations: 3.469 kB / 1.194 GB, free: 11.58 MB / 1.076 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.0001386/0.8989, allocations: 177.7 kB / 1.194 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.8989, allocations: 31.5 kB / 1.194 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.8993, allocations: 190 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8993, allocations: 2.094 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8993, allocations: 1.859 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8993, allocations: 1.094 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.8995, allocations: 241.2 kB / 1.194 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.8995, allocations: 2.109 kB / 1.194 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.373e-05/0.8996, allocations: 16.53 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8996, allocations: 2.828 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.8996, allocations: 0.9688 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.8996, allocations: 7.047 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8996, allocations: 4.969 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.8999, allocations: 196.4 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.9, allocations: 57.27 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.9, allocations: 11.03 kB / 1.194 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.9002, allocations: 13.33 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.9002, allocations: 6.891 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.9002, allocations: 2.438 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004641/0.9007, allocations: 398.2 kB / 1.195 GB, free: 10.81 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9007, allocations: 0 / 1.195 GB, free: 10.81 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002596/0.9009, allocations: 36.72 kB / 1.195 GB, free: 10.81 MB / 1.076 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 7.098e-05/0.901, allocations: 104.6 kB / 1.195 GB, free: 10.72 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.9012, allocations: 83.27 kB / 1.195 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.9012, allocations: 0 / 1.195 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.643e-05/0.9013, allocations: 46.08 kB / 1.195 GB, free: 10.69 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.9016, allocations: 71.62 kB / 1.195 GB, free: 10.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/0.9025, allocations: 0.5892 MB / 1.196 GB, free: 10.33 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.9028, allocations: 213.9 kB / 1.196 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000128/0.9029, allocations: 60.55 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.903, allocations: 24.42 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.903, allocations: 0 / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of Templates: time 0.008441/0.9114, allocations: 3.855 MB / 1.2 GB, free: 9.781 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.725689928978682]