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.001726/0.001726, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002327/0.002327, allocations: 219 kB / 22.26 MB, free: 5.082 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 8.016 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.099/3.099, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.001983/0.001983, allocations: 73.36 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3402, allocations: 180.2 MB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002881/0.3431, allocations: 1.617 MB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3446, allocations: 0.9624 MB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.3446, allocations: 4 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.3449, allocations: 63.64 kB / 1.355 GB, free: 5.828 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.3454, allocations: 143.3 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.48e-05/0.3454, allocations: 8 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.3459, allocations: 379.5 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.991e-05/0.3459, allocations: 9.219 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.3462, allocations: 155.4 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.3464, allocations: 139.3 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.3465, allocations: 16 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.729e-05/0.3465, allocations: 16 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.424e-05/0.3466, allocations: 51.72 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.3467, allocations: 135.2 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.347, allocations: 286.7 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.347, allocations: 0 / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.382e-06/0.347, allocations: 0 / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.347, allocations: 3.938 kB / 1.357 GB, free: 4.512 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.001087/0.3481, allocations: 0.5665 MB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3482, allocations: 12.03 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.3482, allocations: 30.75 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.3482, allocations: 28.75 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.3487, allocations: 344.6 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3488, allocations: 4.375 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.3488, allocations: 8.375 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3489, allocations: 97.2 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3489, allocations: 0 / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3489, allocations: 0 / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.349, allocations: 0 / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.3491, allocations: 75.86 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.3494, allocations: 323.2 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3496, allocations: 106.3 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.3497, allocations: 63.47 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3497, allocations: 4 kB / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3497, allocations: 42.48 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3497, allocations: 0 / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003551/0.3501, allocations: 185.7 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.3501, allocations: 140.6 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/0.3507, allocations: 0.5132 MB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3507, allocations: 25.7 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3509, allocations: 168.1 kB / 1.359 GB, free: 1.562 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.3509, allocations: 7.906 kB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.3509, allocations: 25.7 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3511, allocations: 338.8 kB / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.528e-05/0.3511, allocations: 39.91 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.3512, allocations: 59.39 kB / 1.36 GB, free: 1.074 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3514, allocations: 99.3 kB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3514, allocations: 4 kB / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002154/0.3516, allocations: 153.3 kB / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3516, allocations: 4 kB / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3516, allocations: 0 / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3516, allocations: 4.094 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3517, allocations: 15.97 kB / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3517, allocations: 3.938 kB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.3519, allocations: 11.94 kB / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.3519, allocations: 4 kB / 1.36 GB, free: 0.7617 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.0001563/0.352, allocations: 181.8 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.3521, allocations: 35.75 kB / 1.36 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.3524, allocations: 187.6 kB / 1.36 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3524, allocations: 7.938 kB / 1.36 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3524, allocations: 0 / 1.36 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3524, allocations: 128 / 1.36 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.3527, allocations: 284.5 kB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3527, allocations: 3.984 kB / 1.361 GB, free: 16 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.3528, allocations: 15.94 kB / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3528, allocations: 0 / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.3528, allocations: 4.047 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3528, allocations: 0 / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3528, allocations: 0 / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.353, allocations: 195.3 kB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.3532, allocations: 71.61 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.3532, allocations: 4 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3534, allocations: 11.98 kB / 1.361 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.3534, allocations: 3.984 kB / 1.361 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3534, allocations: 4 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004572/0.3538, allocations: 399 kB / 1.361 GB, free: 15.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3538, allocations: 4 kB / 1.361 GB, free: 15.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002445/0.3541, allocations: 36 kB / 1.361 GB, free: 15.25 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.0005135/0.3546, allocations: 0.7318 MB / 1.362 GB, free: 14.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3548, allocations: 87.84 kB / 1.362 GB, free: 14.4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3548, allocations: 3.938 kB / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.3549, allocations: 43.91 kB / 1.362 GB, free: 14.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.3552, allocations: 66.06 kB / 1.362 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.359, allocations: 3.173 MB / 1.365 GB, free: 10.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.3594, allocations: 0.8221 MB / 1.366 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.3595, allocations: 54.25 kB / 1.366 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.3596, allocations: 79.41 kB / 1.366 GB, free: 10.02 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.3596, allocations: 0 / 1.366 GB, free: 10.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.3923, allocations: 6.804 MB / 1.373 GB, free: 3.398 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.95, allocations: 11.06 kB / 1.373 GB, free: 3.391 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.480785348000154]