Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001634/0.001634, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001599/0.001599, allocations: 210.7 kB / 22.25 MB, free: 5.262 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.789 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 3.165/3.165, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_12_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.002029/0.002029, allocations: 64.38 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.328, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002851/0.3309, allocations: 1.567 MB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.3325, allocations: 0.8722 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.3325, allocations: 7.938 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3328, allocations: 55.67 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.3333, allocations: 143.3 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.787e-05/0.3333, allocations: 11.97 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.3338, allocations: 370.3 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.105e-05/0.3338, allocations: 17.2 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.3341, allocations: 147.4 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.3343, allocations: 151.3 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.3344, allocations: 16 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.824e-05/0.3344, allocations: 16 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.3345, allocations: 51.75 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.3346, allocations: 107.3 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.3349, allocations: 294.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3349, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3349, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.335, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 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.001146/0.3361, allocations: 0.5704 MB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3361, allocations: 8.031 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.3362, allocations: 30.75 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.3362, allocations: 32.75 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.3368, allocations: 336.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3368, allocations: 8.312 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.3368, allocations: 384 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.337, allocations: 105.2 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.337, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.337, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.337, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.3371, allocations: 71.86 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.3375, allocations: 291.3 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.3376, allocations: 114.3 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.695e-05/0.3377, allocations: 59.45 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3377, allocations: 4 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3378, allocations: 38.5 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3378, allocations: 0 / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003541/0.3381, allocations: 189.2 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.694e-05/0.3382, allocations: 132.5 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/0.3389, allocations: 0.5132 MB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3389, allocations: 25.7 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.339, allocations: 164.1 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.339, allocations: 8.406 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.3391, allocations: 33.64 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3393, allocations: 342.8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.3393, allocations: 35.95 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.231e-05/0.3394, allocations: 55.41 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.3396, allocations: 107.3 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3396, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002299/0.3398, allocations: 149.3 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3398, allocations: 8 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3398, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3398, allocations: 7.938 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3399, allocations: 11.98 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3399, allocations: 4 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3401, allocations: 11.97 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3401, allocations: 11.94 kB / 1.332 GB, free: 10.86 MB / 1.029 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.0001716/0.3403, allocations: 177.7 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.3403, allocations: 39.83 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.3407, allocations: 191.7 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3407, allocations: 0 / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3407, allocations: 4 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3407, allocations: 0 / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.341, allocations: 244.6 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.341, allocations: 4 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.06e-05/0.341, allocations: 19.92 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3411, allocations: 0 / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3411, allocations: 8.125 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3411, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3411, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.3413, allocations: 195.3 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.3415, allocations: 71.61 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.3415, allocations: 4 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3417, allocations: 7.984 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.3417, allocations: 7.984 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3417, allocations: 8 kB / 1.333 GB, free: 9.805 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004798/0.3422, allocations: 395 kB / 1.333 GB, free: 9.426 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3422, allocations: 4 kB / 1.333 GB, free: 9.422 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002586/0.3425, allocations: 36 kB / 1.333 GB, free: 9.387 MB / 1.029 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.0005883/0.343, allocations: 0.7396 MB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3432, allocations: 83.86 kB / 1.334 GB, free: 8.527 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3432, allocations: 0 / 1.334 GB, free: 8.527 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/0.3433, allocations: 43.91 kB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.3437, allocations: 70.02 kB / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.3477, allocations: 3.175 MB / 1.337 GB, free: 5.125 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.3479, allocations: 215.4 kB / 1.338 GB, free: 4.895 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000144/0.348, allocations: 54.19 kB / 1.338 GB, free: 4.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3482, allocations: 79.41 kB / 1.338 GB, free: 4.762 MB / 1.029 GB Notification: Performance of SimCode: time 6.82e-07/0.3482, allocations: 0 / 1.338 GB, free: 4.762 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.3851, allocations: 7.56 MB / 1.345 GB, free: 13.41 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.96, allocations: 11.98 kB / 1.345 GB, free: 13.4 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.69099630601704]