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.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.0008435/0.0008435, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007858/0.0007858, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8373/0.8373, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.718/1.718, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 7.922 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.312e-05, allocations: 4.953 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001614/0.001627, allocations: 1.555 MB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008636/0.002491, allocations: 0.8605 MB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.002551, allocations: 8 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.00274, allocations: 55.67 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.003085, allocations: 151.1 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.323e-05/0.003108, allocations: 7.984 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.003385, allocations: 390 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.003428, allocations: 16.94 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.003641, allocations: 203.4 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.003769, allocations: 127.7 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.003791, allocations: 16 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.353e-05/0.003815, allocations: 16 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.003866, allocations: 47.77 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.003933, allocations: 83.72 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.004129, allocations: 283 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004131, allocations: 0 / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.362e-06/0.004132, allocations: 8 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.004136, allocations: 0 / 1.003 GB, free: 9.707 MB / 0.9636 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.0006255/0.004761, allocations: 0.551 MB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.004795, allocations: 12.75 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.004824, allocations: 34.73 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.00486, allocations: 36.7 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.005184, allocations: 328 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.005193, allocations: 4.359 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.005203, allocations: 4.375 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.005309, allocations: 97.58 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.005316, allocations: 192 / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.005325, allocations: 4.125 kB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.005329, allocations: 4 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.0054, allocations: 67.86 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.005641, allocations: 303.2 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.005731, allocations: 102.4 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.005786, allocations: 63.45 kB / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.0058, allocations: 4 kB / 1.005 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.005819, allocations: 34.5 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.00582, allocations: 0 / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002345/0.006054, allocations: 185.2 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.006098, allocations: 141 kB / 1.005 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.006484, allocations: 0.5171 MB / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.006495, allocations: 25.7 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.006573, allocations: 164.1 kB / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.006595, allocations: 11.91 kB / 1.006 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.006625, allocations: 21.7 kB / 1.006 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.006707, allocations: 342.8 kB / 1.006 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.006747, allocations: 39.95 kB / 1.006 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.006991, allocations: 59.39 kB / 1.006 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.575e-05/0.007087, allocations: 103.3 kB / 1.006 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.007088, allocations: 0 / 1.006 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/0.007224, allocations: 145.4 kB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.007235, allocations: 11.92 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.00724, allocations: 3.938 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.007252, allocations: 7.938 kB / 1.007 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.00732, allocations: 11.98 kB / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.007325, allocations: 0 / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-05/0.007396, allocations: 12.11 kB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.007403, allocations: 4 kB / 1.007 GB, free: 6.008 MB / 0.9636 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.0001015/0.007504, allocations: 177.7 kB / 1.007 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.007532, allocations: 35.77 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.007735, allocations: 187.7 kB / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.007739, allocations: 7.938 kB / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.007742, allocations: 0 / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.007745, allocations: 0 / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.007906, allocations: 256.7 kB / 1.007 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.007907, allocations: 0 / 1.007 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.007954, allocations: 16 kB / 1.007 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.007956, allocations: 0 / 1.007 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.007964, allocations: 4 kB / 1.007 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.007966, allocations: 3.938 kB / 1.007 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.007968, allocations: 3.984 kB / 1.007 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.008113, allocations: 187.4 kB / 1.008 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.163e-05/0.008195, allocations: 67.67 kB / 1.008 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.008218, allocations: 4 kB / 1.008 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.008284, allocations: 15.92 kB / 1.008 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.008301, allocations: 7.984 kB / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.008307, allocations: 8 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002811/0.008588, allocations: 395 kB / 1.008 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008588, allocations: 0 / 1.008 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001662/0.008754, allocations: 36 kB / 1.008 GB, free: 4.543 MB / 0.9636 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.0003094/0.009064, allocations: 0.7357 MB / 1.009 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.009186, allocations: 95.98 kB / 1.009 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009188, allocations: 4.062 kB / 1.009 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/0.00923, allocations: 43.91 kB / 1.009 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.009469, allocations: 62.62 kB / 1.009 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.01175, allocations: 3.184 MB / 1.012 GB, free: 268 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.01186, allocations: 203.4 kB / 1.012 GB, free: 40 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.17e-05/0.01195, allocations: 58.3 kB / 1.012 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-05/0.01205, allocations: 84.41 kB / 1.012 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of SimCode: time 6.52e-07/0.01205, allocations: 0 / 1.012 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.02898, allocations: 7.677 MB / 1.02 GB, free: 8.492 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.075/7.104, allocations: 4.938 kB / 1.02 GB, free: 8.488 MB / 0.9792 GB " [Timeout remaining time 293] (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 800 --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) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.072084903717041]