Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001632/0.001632, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.00233/0.00233, allocations: 209 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.451/1.451, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.117/3.117, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 73.61 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3588, allocations: 176.1 MB / 1.326 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002834/0.3616, allocations: 1.618 MB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.3632, allocations: 0.9618 MB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.3632, allocations: 4 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.3635, allocations: 59.66 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.364, allocations: 147.3 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.995e-05/0.364, allocations: 7.984 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000444/0.3645, allocations: 378.2 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.053e-05/0.3645, allocations: 13.22 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.3648, allocations: 159.3 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.365, allocations: 139.4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.3651, allocations: 16 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.952e-05/0.3651, allocations: 12 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.3652, allocations: 55.69 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.3653, allocations: 127.2 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.3656, allocations: 294.7 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3656, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3656, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3656, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 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.001163/0.3668, allocations: 0.5665 MB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3668, allocations: 12.03 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.3669, allocations: 30.75 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.3669, allocations: 28.75 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.3675, allocations: 344.7 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-06/0.3675, allocations: 384 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.3675, allocations: 4.375 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3677, allocations: 101.2 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3677, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3677, allocations: 4 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3677, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3678, allocations: 79.86 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.3682, allocations: 319.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3683, allocations: 110.3 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.3684, allocations: 59.45 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.3684, allocations: 7.938 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3684, allocations: 38.5 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3684, allocations: 3.938 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003732/0.3688, allocations: 185.3 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/0.3689, allocations: 140.4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006243/0.3695, allocations: 0.5132 MB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3695, allocations: 25.7 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.3697, allocations: 164 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.3697, allocations: 11.91 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.3698, allocations: 26.2 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3699, allocations: 346.8 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.37, allocations: 31.97 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-05/0.37, allocations: 59.39 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3702, allocations: 103.3 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3702, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002154/0.3704, allocations: 153.3 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3704, allocations: 5.719 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3704, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3704, allocations: 4 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3706, allocations: 15.92 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3706, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.3708, allocations: 12.11 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3708, allocations: 4 kB / 1.333 GB, free: 10.26 MB / 1.029 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.0001709/0.3709, allocations: 177.7 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.371, allocations: 39.7 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.3713, allocations: 187.7 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3713, allocations: 8.125 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3713, allocations: 0 / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3713, allocations: 3.984 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.3716, allocations: 276.5 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3716, allocations: 0 / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.3717, allocations: 19.92 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3717, allocations: 0 / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3717, allocations: 8 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3717, allocations: 0 / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3717, allocations: 0 / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.372, allocations: 199.3 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.3722, allocations: 71.61 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.3722, allocations: 0 / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3724, allocations: 19.98 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.3724, allocations: 3.984 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.3724, allocations: 8 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004944/0.3729, allocations: 399 kB / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3729, allocations: 3.938 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002576/0.3732, allocations: 36 kB / 1.335 GB, free: 8.742 MB / 1.029 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.0006678/0.3738, allocations: 0.7396 MB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.3741, allocations: 83.86 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3741, allocations: 0 / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.3742, allocations: 51.89 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.3746, allocations: 58.12 kB / 1.335 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.3788, allocations: 3.173 MB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.3793, allocations: 0.8143 MB / 1.339 GB, free: 3.641 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.3794, allocations: 50.25 kB / 1.339 GB, free: 3.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.3795, allocations: 79.41 kB / 1.339 GB, free: 3.512 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/0.3795, allocations: 3.938 kB / 1.339 GB, free: 3.508 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.4124, allocations: 6.799 MB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.13, allocations: 5.984 kB / 1.346 GB, free: 12.89 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.61209965300077]