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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 108 kB / 15.61 MB, free: 152 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.001176/0.001176, allocations: 195 kB / 16.53 MB, free: 6.664 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.195/1.195, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.437/2.437, allocations: 469.4 MB / 0.742 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 65.06 kB / 0.9082 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2504, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002391/0.2528, allocations: 1.581 MB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.2539, allocations: 0.9229 MB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.254, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.2543, allocations: 63.66 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004078/0.2547, allocations: 147.3 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.806e-05/0.2547, allocations: 4 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.2551, allocations: 388.3 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.099e-05/0.2551, allocations: 44.75 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.2553, allocations: 143.3 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.2555, allocations: 131.4 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.2555, allocations: 12 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-05/0.2556, allocations: 16 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.2557, allocations: 47.72 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.2558, allocations: 139.2 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.256, allocations: 283.3 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.256, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.256, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.256, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 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.0008722/0.2569, allocations: 0.6301 MB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.2569, allocations: 8.031 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.257, allocations: 34.75 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.257, allocations: 32.56 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.2574, allocations: 386.2 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.2574, allocations: 384 / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.2575, allocations: 384 / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.2576, allocations: 105.2 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2576, allocations: 4 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.2576, allocations: 0 / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.2576, allocations: 0 / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.784e-05/0.2577, allocations: 67.86 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.258, allocations: 364 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.2582, allocations: 106.3 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.2582, allocations: 63.45 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.2583, allocations: 3.984 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2583, allocations: 42.5 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2583, allocations: 0 / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000285/0.2586, allocations: 185.1 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.2586, allocations: 132.5 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.2591, allocations: 0.5132 MB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.2591, allocations: 26.2 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.2592, allocations: 168.1 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.2593, allocations: 7.906 kB / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.2593, allocations: 29.55 kB / 1.07 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.2594, allocations: 342.8 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.2595, allocations: 35.97 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.696e-05/0.2595, allocations: 59.39 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.2597, allocations: 111.3 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2597, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001785/0.2599, allocations: 145.1 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2599, allocations: 8 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2599, allocations: 8.062 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2599, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.26, allocations: 11.98 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.26, allocations: 3.938 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.2601, allocations: 11.98 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.2602, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8262 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.0001223/0.2603, allocations: 178.3 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.2603, allocations: 39.56 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.2606, allocations: 187.6 kB / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2606, allocations: 0 / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2606, allocations: 0 / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.2606, allocations: 7.984 kB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.2609, allocations: 309.5 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2609, allocations: 0 / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.783e-05/0.261, allocations: 19.92 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.261, allocations: 8.125 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.261, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.261, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.261, allocations: 4 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.2612, allocations: 191.1 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.2613, allocations: 136.6 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.2614, allocations: 11.94 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.2615, allocations: 7.984 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.2615, allocations: 7.984 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-06/0.2616, allocations: 4 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003675/0.2619, allocations: 395 kB / 1.072 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2619, allocations: 0 / 1.072 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002285/0.2622, allocations: 36 kB / 1.072 GB, free: 5.109 MB / 0.8262 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.0003838/0.2626, allocations: 0.7355 MB / 1.073 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.2627, allocations: 84.05 kB / 1.073 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2627, allocations: 8.062 kB / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/0.2628, allocations: 43.91 kB / 1.073 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.2631, allocations: 73.94 kB / 1.073 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.2661, allocations: 3.188 MB / 1.076 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2664, allocations: 0.822 MB / 1.077 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.2665, allocations: 50.27 kB / 1.077 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.2667, allocations: 79.41 kB / 1.077 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2667, allocations: 4 kB / 1.077 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.2871, allocations: 6.599 MB / 1.084 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.606/6.893, allocations: 10.34 kB / 1.084 GB, free: 9.445 MB / 0.8419 GB (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 50 --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) 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) "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