Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_10_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.007406/0.007406, allocations: 100.1 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 190.2 kB / 16.67 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.84 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6443/0.6457, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002479/0.6482, allocations: 1.587 MB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.6495, allocations: 0.9151 MB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.6497, allocations: 8 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.6499, allocations: 67.64 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.6504, allocations: 143.3 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.188e-05/0.6505, allocations: 15.92 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.6509, allocations: 370.3 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.259e-05/0.651, allocations: 44.73 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.6512, allocations: 151.3 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.6514, allocations: 131.4 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.6515, allocations: 16 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.432e-05/0.6515, allocations: 16 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.6516, allocations: 51.7 kB / 1.17 GB, free: 300 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.6518, allocations: 127.2 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.6521, allocations: 290.4 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6521, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6521, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.6521, allocations: 4 kB / 1.17 GB, free: 15.88 MB / 0.9044 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.001078/0.6532, allocations: 0.6302 MB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6532, allocations: 8.922 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.6533, allocations: 42.67 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.6533, allocations: 40.69 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.6538, allocations: 386.6 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.6539, allocations: 8.375 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.6539, allocations: 384 / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.654, allocations: 97.19 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.654, allocations: 3.938 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.6541, allocations: 4 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.6541, allocations: 4 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.413e-05/0.6542, allocations: 67.92 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.6545, allocations: 356 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.6547, allocations: 106.5 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.472e-05/0.6547, allocations: 63.39 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.6548, allocations: 0 / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.6548, allocations: 42.44 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.6548, allocations: 4 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0003185/0.6551, allocations: 173.3 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.6552, allocations: 144.4 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/0.6558, allocations: 0.5093 MB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.6558, allocations: 25.7 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.6559, allocations: 164.6 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.6559, allocations: 27.75 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.656, allocations: 21.72 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6561, allocations: 342.8 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.6562, allocations: 31.97 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.6563, allocations: 63.38 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.6564, allocations: 103.3 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6564, allocations: 0 / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000226/0.6566, allocations: 153.3 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.6567, allocations: 4 kB / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6567, allocations: 4 kB / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.6567, allocations: 4.125 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.6568, allocations: 15.92 kB / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.6569, allocations: 0 / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.657, allocations: 15.94 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.657, allocations: 3.938 kB / 1.173 GB, free: 11.93 MB / 0.9044 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.0001545/0.6572, allocations: 177.8 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.6572, allocations: 31.75 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.6576, allocations: 187.7 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.6576, allocations: 4 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6576, allocations: 0 / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.6576, allocations: 3.984 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.6579, allocations: 305.4 kB / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.6579, allocations: 4 kB / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.422e-05/0.658, allocations: 23.92 kB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.658, allocations: 0 / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.658, allocations: 4 kB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.658, allocations: 128 / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.658, allocations: 7.938 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.6583, allocations: 191.4 kB / 1.174 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.6585, allocations: 140.8 kB / 1.174 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.6585, allocations: 4 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.6587, allocations: 15.98 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.6587, allocations: 7.984 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.6587, allocations: 4 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004289/0.6591, allocations: 403 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6592, allocations: 0 / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002609/0.6594, allocations: 36 kB / 1.175 GB, free: 10.3 MB / 0.9044 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.0004367/0.6599, allocations: 0.728 MB / 1.176 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.66, allocations: 87.86 kB / 1.176 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.6601, allocations: 0 / 1.176 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.368e-05/0.6601, allocations: 56.09 kB / 1.176 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.6605, allocations: 66.17 kB / 1.176 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.6641, allocations: 3.186 MB / 1.179 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.6644, allocations: 0.8143 MB / 1.18 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.6646, allocations: 50.34 kB / 1.18 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.6648, allocations: 87.33 kB / 1.18 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.6648, allocations: 4 kB / 1.18 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.6861, allocations: 6.648 MB / 1.186 GB, free: 14.6 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/8.123, allocations: 16.64 kB / 1.186 GB, free: 14.58 MB / 0.92 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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