Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 183.1 kB / 16.66 MB, free: 6.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.31/2.31, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 62.09 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2461, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002412/0.2486, allocations: 1.578 MB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2499, allocations: 0.9204 MB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.25, allocations: 4 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.2502, allocations: 63.66 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.2506, allocations: 151.3 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.364e-05/0.2507, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.251, allocations: 378.2 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.2511, allocations: 44.75 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.2513, allocations: 147.3 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.2515, allocations: 131.4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.2515, allocations: 16 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.727e-05/0.2516, allocations: 16 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.2517, allocations: 47.72 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.2518, allocations: 139.2 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.2521, allocations: 279 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2521, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2521, allocations: 8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2521, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 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.0009832/0.2531, allocations: 0.636 MB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2531, allocations: 12.03 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.2532, allocations: 30.75 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.2532, allocations: 36.7 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.2537, allocations: 398.5 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.2537, allocations: 384 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.2538, allocations: 4.375 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.2539, allocations: 97.2 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.2539, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2539, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2539, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.424e-05/0.254, allocations: 75.84 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.2544, allocations: 352.1 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.2545, allocations: 114.3 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.171e-05/0.2546, allocations: 55.47 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.2546, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2546, allocations: 46.48 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.2546, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003141/0.255, allocations: 181.3 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.255, allocations: 132.5 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.2556, allocations: 0.5132 MB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2556, allocations: 30.14 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.2557, allocations: 172 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.2558, allocations: 15.91 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.2558, allocations: 25.66 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2559, allocations: 342.8 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.256, allocations: 31.97 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.2561, allocations: 59.39 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.2562, allocations: 103.3 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2562, allocations: 0 / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001945/0.2564, allocations: 149.3 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2564, allocations: 8 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2564, allocations: 0 / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2565, allocations: 4.125 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2566, allocations: 15.92 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.2566, allocations: 11.94 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.2567, allocations: 7.984 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.2567, allocations: 4 kB / 1.095 GB, free: 10.16 MB / 0.8575 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.0001397/0.2569, allocations: 173.8 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.2569, allocations: 39.7 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.2572, allocations: 191.7 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2573, allocations: 0 / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2573, allocations: 4 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2573, allocations: 0 / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.2576, allocations: 305.4 kB / 1.095 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2576, allocations: 0 / 1.095 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.2577, allocations: 15.94 kB / 1.095 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2577, allocations: 4 kB / 1.095 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2577, allocations: 4 kB / 1.095 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2577, allocations: 8.125 kB / 1.095 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2577, allocations: 3.984 kB / 1.095 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.2579, allocations: 191.3 kB / 1.096 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.2581, allocations: 136.8 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.2581, allocations: 11.88 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.2583, allocations: 15.98 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.2583, allocations: 4 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.2583, allocations: 4 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004099/0.2587, allocations: 399 kB / 1.096 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2587, allocations: 0 / 1.096 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002382/0.259, allocations: 36 kB / 1.096 GB, free: 8.531 MB / 0.8575 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.0004721/0.2595, allocations: 0.7325 MB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.2596, allocations: 87.8 kB / 1.097 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2597, allocations: 0 / 1.097 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.236e-05/0.2597, allocations: 48.16 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.2601, allocations: 65.66 kB / 1.097 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.2635, allocations: 3.192 MB / 1.1 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.2638, allocations: 0.8182 MB / 1.101 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000134/0.264, allocations: 50.27 kB / 1.101 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.2641, allocations: 79.34 kB / 1.101 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of SimCode: time 7.31e-07/0.2641, allocations: 4 kB / 1.101 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.2882, allocations: 6.65 MB / 1.108 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.812, allocations: 13.11 kB / 1.108 GB, free: 12.81 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=31536000.000000 File[7]=75686.400000 " Variables in the reference:time,TSoi[1].T,TSoi[2].T,TSoi[3].T,TSoi[4].T Variables in the result:time,TSoi[1].T,TSoi[2].T,TSoi[3].T,TSoi[4].T,TSoi[1].cliCon.TSurAmp