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.001698/0.001698, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001603/0.001603, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 3.047/3.047, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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.001955/0.001955, allocations: 68.06 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3127, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002775/0.3155, allocations: 1.619 MB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.317, allocations: 0.9624 MB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.693e-05/0.3171, allocations: 0 / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.3173, allocations: 63.66 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.3178, allocations: 147.3 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.694e-05/0.3178, allocations: 11.92 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.3183, allocations: 373.1 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.3183, allocations: 13.22 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.3186, allocations: 163.3 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.3188, allocations: 135.3 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.3188, allocations: 16 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.07e-05/0.3189, allocations: 16 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.319, allocations: 43.78 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.3191, allocations: 139.1 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.3194, allocations: 282.7 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3194, allocations: 7.938 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3194, allocations: 0 / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.3194, allocations: 0 / 1.357 GB, free: 4.504 MB / 1.045 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.001137/0.3206, allocations: 0.5627 MB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3206, allocations: 11.97 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.3207, allocations: 42.73 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.3207, allocations: 28.75 kB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.3213, allocations: 340.7 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3213, allocations: 384 / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.3213, allocations: 384 / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.3215, allocations: 101.1 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3215, allocations: 0 / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3215, allocations: 4 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3215, allocations: 0 / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.3216, allocations: 71.86 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.322, allocations: 327.2 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3222, allocations: 102.4 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.3222, allocations: 63.45 kB / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3223, allocations: 0 / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3223, allocations: 42.44 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.3223, allocations: 0 / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004136/0.3227, allocations: 197.2 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.3228, allocations: 128.5 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/0.3234, allocations: 0.5093 MB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3234, allocations: 25.7 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3236, allocations: 164.1 kB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.3236, allocations: 20.38 kB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.3236, allocations: 21.72 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3238, allocations: 346.8 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.3239, allocations: 31.97 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.324, allocations: 63.39 kB / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3241, allocations: 111.2 kB / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3241, allocations: 0 / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002181/0.3243, allocations: 149.2 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3243, allocations: 8 kB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3243, allocations: 0 / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3244, allocations: 0 / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3245, allocations: 11.98 kB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3245, allocations: 4.125 kB / 1.36 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.3247, allocations: 15.94 kB / 1.36 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3247, allocations: 4 kB / 1.36 GB, free: 0.7539 MB / 1.045 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.0001681/0.3248, allocations: 182.3 kB / 1.36 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.3249, allocations: 39.75 kB / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.3252, allocations: 187.7 kB / 1.36 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3252, allocations: 4.125 kB / 1.36 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3252, allocations: 4 kB / 1.36 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3252, allocations: 3.938 kB / 1.36 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.3255, allocations: 272.6 kB / 1.361 GB, free: 16 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3255, allocations: 4 kB / 1.361 GB, free: 12 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3256, allocations: 19.91 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3256, allocations: 4 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.3257, allocations: 0 / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3257, allocations: 4 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3257, allocations: 0 / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.3259, allocations: 195.3 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.3261, allocations: 71.55 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.3261, allocations: 8 kB / 1.361 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3262, allocations: 7.984 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.3263, allocations: 11.98 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3263, allocations: 4 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000448/0.3267, allocations: 399 kB / 1.361 GB, free: 15.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3267, allocations: 0 / 1.361 GB, free: 15.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002415/0.327, allocations: 36 kB / 1.361 GB, free: 15.24 MB / 1.061 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.0005327/0.3275, allocations: 0.7318 MB / 1.362 GB, free: 14.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.3277, allocations: 83.86 kB / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.3277, allocations: 0 / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.3278, allocations: 43.91 kB / 1.362 GB, free: 14.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3281, allocations: 72.73 kB / 1.362 GB, free: 14.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.3319, allocations: 3.182 MB / 1.365 GB, free: 10.97 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.3323, allocations: 0.8143 MB / 1.366 GB, free: 10.13 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.3325, allocations: 58.23 kB / 1.366 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.3326, allocations: 79.41 kB / 1.366 GB, free: 10 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/0.3326, allocations: 0 / 1.366 GB, free: 10 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.3655, allocations: 6.808 MB / 1.373 GB, free: 3.402 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.24, allocations: 1.562 kB / 1.373 GB, free: 3.402 MB / 1.061 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.654173052999795]