Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.002067/0.002067, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001936/0.001936, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.423/1.423, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.147/3.147, allocations: 0.505 GB / 0.8066 GB, free: 23.02 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.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",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.002009/0.002009, allocations: 63.75 kB / 1.172 GB, free: 17.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3389, allocations: 180.2 MB / 1.348 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002691/0.3416, allocations: 1.603 MB / 1.349 GB, free: 8.348 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3431, allocations: 0.9585 MB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.3432, allocations: 7.938 kB / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.3434, allocations: 55.7 kB / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.3439, allocations: 147.3 kB / 1.35 GB, free: 7.176 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.013e-05/0.3439, allocations: 11.98 kB / 1.35 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004479/0.3444, allocations: 370.3 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.022e-05/0.3445, allocations: 33.03 kB / 1.351 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.3447, allocations: 155.3 kB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.3449, allocations: 135.3 kB / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.345, allocations: 16 kB / 1.351 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.157e-05/0.345, allocations: 20 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.3451, allocations: 43.78 kB / 1.351 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3452, allocations: 139.1 kB / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.3456, allocations: 282.7 kB / 1.352 GB, free: 5.984 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3456, allocations: 0 / 1.352 GB, free: 5.984 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3456, allocations: 0 / 1.352 GB, free: 5.984 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3456, allocations: 3.938 kB / 1.352 GB, free: 5.98 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.001116/0.3467, allocations: 0.638 MB / 1.352 GB, free: 5.293 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3467, allocations: 19.97 kB / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.3468, allocations: 30.75 kB / 1.352 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.3468, allocations: 28.75 kB / 1.352 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.3473, allocations: 394.6 kB / 1.353 GB, free: 4.789 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.3473, allocations: 384 / 1.353 GB, free: 4.789 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.3473, allocations: 8.375 kB / 1.353 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.3475, allocations: 105.1 kB / 1.353 GB, free: 4.66 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.3475, allocations: 4 kB / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.3475, allocations: 0 / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3475, allocations: 0 / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3476, allocations: 71.86 kB / 1.353 GB, free: 4.586 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.348, allocations: 360.1 kB / 1.353 GB, free: 4.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.3481, allocations: 98.41 kB / 1.353 GB, free: 4.043 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.3482, allocations: 63.45 kB / 1.353 GB, free: 3.969 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3482, allocations: 11.92 kB / 1.353 GB, free: 3.957 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3483, allocations: 38.5 kB / 1.353 GB, free: 3.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3483, allocations: 0 / 1.353 GB, free: 3.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003381/0.3486, allocations: 189.7 kB / 1.354 GB, free: 3.719 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.3487, allocations: 132.5 kB / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/0.3493, allocations: 0.5132 MB / 1.354 GB, free: 3.035 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3493, allocations: 25.7 kB / 1.354 GB, free: 3.004 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.3494, allocations: 168.1 kB / 1.354 GB, free: 2.836 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.3495, allocations: 11.91 kB / 1.354 GB, free: 2.824 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.3495, allocations: 21.66 kB / 1.354 GB, free: 2.797 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3496, allocations: 342.8 kB / 1.355 GB, free: 2.453 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-05/0.3497, allocations: 39.97 kB / 1.355 GB, free: 2.414 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.3498, allocations: 59.33 kB / 1.355 GB, free: 2.344 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.3499, allocations: 95.36 kB / 1.355 GB, free: 2.238 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3499, allocations: 4 kB / 1.355 GB, free: 2.234 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002205/0.3501, allocations: 161.2 kB / 1.355 GB, free: 2.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3502, allocations: 4 kB / 1.355 GB, free: 2.066 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3502, allocations: 4 kB / 1.355 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3502, allocations: 0 / 1.355 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3503, allocations: 11.98 kB / 1.355 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3503, allocations: 0 / 1.355 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3504, allocations: 15.94 kB / 1.355 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.3504, allocations: 0 / 1.355 GB, free: 2.035 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.0001619/0.3506, allocations: 181.9 kB / 1.355 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.3506, allocations: 35.75 kB / 1.355 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000316/0.3509, allocations: 187.6 kB / 1.356 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3509, allocations: 4 kB / 1.356 GB, free: 1.617 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.351, allocations: 0 / 1.356 GB, free: 1.617 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.351, allocations: 4 kB / 1.356 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.3512, allocations: 301.6 kB / 1.356 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3512, allocations: 3.984 kB / 1.356 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.3513, allocations: 23.88 kB / 1.356 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3513, allocations: 0 / 1.356 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3513, allocations: 4 kB / 1.356 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3513, allocations: 0 / 1.356 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3514, allocations: 4 kB / 1.356 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.3516, allocations: 203.3 kB / 1.356 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.3518, allocations: 140.9 kB / 1.356 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.3518, allocations: 11.92 kB / 1.356 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3519, allocations: 19.97 kB / 1.356 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.352, allocations: 4 kB / 1.356 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.352, allocations: 4 kB / 1.356 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004413/0.3524, allocations: 399 kB / 1.357 GB, free: 436 kB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3524, allocations: 4 kB / 1.357 GB, free: 432 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002443/0.3527, allocations: 36 kB / 1.357 GB, free: 396 kB / 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.0005362/0.3532, allocations: 0.7318 MB / 1.357 GB, free: 15.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.3534, allocations: 83.86 kB / 1.357 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3534, allocations: 0 / 1.357 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.812e-05/0.3534, allocations: 43.91 kB / 1.357 GB, free: 15.49 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.3538, allocations: 61.97 kB / 1.358 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.3575, allocations: 3.188 MB / 1.361 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.3579, allocations: 0.8182 MB / 1.361 GB, free: 11.28 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.358, allocations: 50.27 kB / 1.361 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3582, allocations: 79.41 kB / 1.362 GB, free: 11.16 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.3582, allocations: 0 / 1.362 GB, free: 11.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.3877, allocations: 6.696 MB / 1.368 GB, free: 4.688 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.334, allocations: 14.09 kB / 1.368 GB, free: 4.676 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_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_UndisturbedSoilTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.879264780087397]