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.006368/0.006368, allocations: 101.9 kB / 15.73 MB, free: 5.492 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.001374/0.001374, allocations: 186.5 kB / 16.67 MB, free: 5.422 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.163/2.163, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.91 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7466, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002412/0.7491, allocations: 1.581 MB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.7503, allocations: 0.9089 MB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.7504, allocations: 0.9375 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.7507, allocations: 68.31 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.7511, allocations: 150.4 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.413e-05/0.7512, allocations: 7.672 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.7516, allocations: 375.3 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.7517, allocations: 47.19 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.7519, allocations: 138 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.7521, allocations: 137.7 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.7521, allocations: 14.91 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.327e-05/0.7522, allocations: 15.66 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/0.7522, allocations: 50.59 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.7524, allocations: 126.9 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.7527, allocations: 293.4 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7527, allocations: 4 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7527, allocations: 3.938 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.7527, allocations: 0.875 kB / 1.091 GB, free: 2.863 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.00103/0.7538, allocations: 0.6193 MB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.7538, allocations: 14.19 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.643e-05/0.7539, allocations: 31.69 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.7539, allocations: 31.58 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.7544, allocations: 393.7 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.7544, allocations: 1.906 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.7545, allocations: 1.938 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.7546, allocations: 103.9 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7546, allocations: 0.9375 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.7546, allocations: 0 / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.7547, allocations: 2.172 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.7548, allocations: 67.2 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.7551, allocations: 352.7 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.7553, allocations: 113.6 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.7554, allocations: 59.16 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.7554, allocations: 1.812 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.7554, allocations: 40.8 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.7554, allocations: 0 / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000357/0.7558, allocations: 186.7 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.7558, allocations: 129.8 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006642/0.7565, allocations: 0.5161 MB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.7565, allocations: 33.64 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.7566, allocations: 164.8 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.7566, allocations: 14.62 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.7567, allocations: 25.83 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.7568, allocations: 342.3 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.7568, allocations: 39.03 kB / 1.094 GB, free: 428 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.7569, allocations: 64.94 kB / 1.094 GB, free: 380 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.7571, allocations: 104.5 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7571, allocations: 1.094 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002302/0.7573, allocations: 146 kB / 1.095 GB, free: 252 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7573, allocations: 9.156 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.7573, allocations: 5.578 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.7574, allocations: 0.7812 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.7575, allocations: 12.08 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7575, allocations: 5.484 kB / 1.095 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.7576, allocations: 10.34 kB / 1.095 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.7577, allocations: 7.25 kB / 1.095 GB, free: 236 kB / 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.0001439/0.7578, allocations: 174 kB / 1.095 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.7579, allocations: 35.23 kB / 1.095 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.7582, allocations: 192.4 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.7582, allocations: 2.406 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.7583, allocations: 1.953 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7583, allocations: 1.125 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.7586, allocations: 305.5 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7586, allocations: 1.25 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.055e-05/0.7587, allocations: 17.91 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7588, allocations: 6.5 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.7588, allocations: 1.859 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7588, allocations: 1.219 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7588, allocations: 1.406 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.759, allocations: 194.8 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.7592, allocations: 139 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.7593, allocations: 3.078 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.7594, allocations: 9.594 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.7595, allocations: 5.875 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.7595, allocations: 8.141 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005055/0.76, allocations: 397.1 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.76, allocations: 0 / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002647/0.7603, allocations: 36.5 kB / 1.096 GB, free: 15.3 MB / 0.8731 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.0004982/0.7608, allocations: 0.7339 MB / 1.097 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.761, allocations: 87.34 kB / 1.097 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.761, allocations: 0.625 kB / 1.097 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.606e-05/0.7611, allocations: 47.06 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.7615, allocations: 68.5 kB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/0.7656, allocations: 3.172 MB / 1.1 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.7661, allocations: 0.8206 MB / 1.101 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.7663, allocations: 56.25 kB / 1.101 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.7664, allocations: 81.27 kB / 1.101 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/0.7664, allocations: 0 / 1.101 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.7946, allocations: 6.648 MB / 1.108 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/8.46, allocations: 12.91 kB / 1.108 GB, free: 11.33 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