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.00161/0.00161, allocations: 110.8 kB / 16.46 MB, free: 6.508 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.001717/0.001717, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.416/1.416, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.115/3.115, allocations: 0.505 GB / 0.8066 GB, free: 23.15 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) [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.003463/0.003463, allocations: 72.22 kB / 1.172 GB, free: 17.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3314, allocations: 180.2 MB / 1.348 GB, free: 10.15 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003101/0.3345, allocations: 1.609 MB / 1.349 GB, free: 8.527 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.3362, allocations: 0.9584 MB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.3363, allocations: 4 kB / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.3366, allocations: 63.66 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005504/0.3371, allocations: 143.3 kB / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.503e-05/0.3372, allocations: 4 kB / 1.35 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004872/0.3377, allocations: 388.2 kB / 1.351 GB, free: 6.973 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.221e-05/0.3377, allocations: 28.75 kB / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.338, allocations: 159.3 kB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.3383, allocations: 127.4 kB / 1.351 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.3383, allocations: 20 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.543e-05/0.3384, allocations: 16 kB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.3384, allocations: 51.7 kB / 1.351 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.3386, allocations: 135.2 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.3389, allocations: 283 kB / 1.352 GB, free: 6.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3389, allocations: 0 / 1.352 GB, free: 6.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3389, allocations: 4 kB / 1.352 GB, free: 6.156 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.3389, allocations: 0 / 1.352 GB, free: 6.156 MB / 1.045 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.00114/0.3401, allocations: 0.6418 MB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3401, allocations: 19.92 kB / 1.352 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.3401, allocations: 30.75 kB / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.3402, allocations: 32.75 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.3408, allocations: 390.6 kB / 1.353 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.3408, allocations: 4.375 kB / 1.353 GB, free: 4.957 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.3408, allocations: 8.375 kB / 1.353 GB, free: 4.949 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3409, allocations: 97.2 kB / 1.353 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3409, allocations: 3.938 kB / 1.353 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.341, allocations: 0 / 1.353 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.341, allocations: 0 / 1.353 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3411, allocations: 71.86 kB / 1.353 GB, free: 4.762 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.3415, allocations: 352.1 kB / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3416, allocations: 106.4 kB / 1.353 GB, free: 4.219 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.3417, allocations: 59.47 kB / 1.353 GB, free: 4.148 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3417, allocations: 3.984 kB / 1.353 GB, free: 4.145 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3418, allocations: 50.42 kB / 1.353 GB, free: 4.086 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3418, allocations: 0 / 1.353 GB, free: 4.086 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003605/0.3421, allocations: 185.7 kB / 1.354 GB, free: 3.898 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.3422, allocations: 132.5 kB / 1.354 GB, free: 3.738 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.3429, allocations: 0.5171 MB / 1.354 GB, free: 3.211 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3429, allocations: 25.7 kB / 1.354 GB, free: 3.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.343, allocations: 168 kB / 1.354 GB, free: 3.012 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.343, allocations: 15.91 kB / 1.354 GB, free: 2.996 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.3431, allocations: 21.7 kB / 1.354 GB, free: 2.969 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3433, allocations: 346.8 kB / 1.355 GB, free: 2.621 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.173e-05/0.3433, allocations: 35.97 kB / 1.355 GB, free: 2.586 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.636e-05/0.3434, allocations: 55.39 kB / 1.355 GB, free: 2.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.3435, allocations: 107.3 kB / 1.355 GB, free: 2.402 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3435, allocations: 0 / 1.355 GB, free: 2.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002351/0.3438, allocations: 149.3 kB / 1.355 GB, free: 2.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3438, allocations: 8 kB / 1.355 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3438, allocations: 0 / 1.355 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3438, allocations: 0 / 1.355 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3439, allocations: 15.92 kB / 1.355 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3439, allocations: 0 / 1.355 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.3441, allocations: 15.94 kB / 1.355 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3441, allocations: 12.11 kB / 1.355 GB, free: 2.199 MB / 1.045 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.0001635/0.3442, allocations: 169.8 kB / 1.355 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.3443, allocations: 35.75 kB / 1.355 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.3446, allocations: 191.6 kB / 1.356 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.3446, allocations: 0 / 1.356 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3447, allocations: 0 / 1.356 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3447, allocations: 8.125 kB / 1.356 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.345, allocations: 305.5 kB / 1.356 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.345, allocations: 0 / 1.356 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.234e-05/0.3451, allocations: 15.94 kB / 1.356 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3451, allocations: 4 kB / 1.356 GB, free: 1.418 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3451, allocations: 4 kB / 1.356 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.3451, allocations: 7.922 kB / 1.356 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3451, allocations: 4 kB / 1.356 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.3454, allocations: 191.4 kB / 1.356 GB, free: 1.188 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.3455, allocations: 136.8 kB / 1.356 GB, free: 1.035 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.3456, allocations: 15.92 kB / 1.356 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.3457, allocations: 11.98 kB / 1.356 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.3457, allocations: 7.938 kB / 1.356 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.3457, allocations: 4 kB / 1.356 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004804/0.3462, allocations: 399 kB / 1.357 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3462, allocations: 0 / 1.357 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002626/0.3465, allocations: 40 kB / 1.357 GB, free: 0.5703 MB / 1.045 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.0005755/0.3471, allocations: 0.7356 MB / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.3473, allocations: 91.8 kB / 1.357 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3473, allocations: 0 / 1.357 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.139e-05/0.3473, allocations: 39.97 kB / 1.357 GB, free: 15.67 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.3477, allocations: 66.25 kB / 1.358 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.3518, allocations: 3.184 MB / 1.361 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.3522, allocations: 0.8181 MB / 1.361 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.3523, allocations: 50.27 kB / 1.361 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.3525, allocations: 79.41 kB / 1.362 GB, free: 11.33 MB / 1.061 GB Notification: Performance of SimCode: time 6.62e-07/0.3525, allocations: 0 / 1.362 GB, free: 11.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.3829, allocations: 6.688 MB / 1.368 GB, free: 4.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.517, allocations: 5.781 kB / 1.368 GB, free: 4.836 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/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: 14.96567215793766]