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.001617/0.001617, allocations: 101.4 kB / 16.45 MB, free: 6.449 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.001923/0.001923, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.492/1.492, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.264/3.264, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] 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.001997/0.001997, allocations: 65.34 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3026, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002757/0.3054, allocations: 1.611 MB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.3068, allocations: 0.9462 MB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.3069, allocations: 4 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.3071, allocations: 67.64 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.3076, allocations: 139.3 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.638e-05/0.3076, allocations: 15.94 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.308, allocations: 370.3 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.679e-05/0.3081, allocations: 29.03 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.3084, allocations: 159.3 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.3086, allocations: 135.4 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.3086, allocations: 12 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.986e-05/0.3087, allocations: 19.94 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.3087, allocations: 43.78 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.3089, allocations: 143.1 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.3092, allocations: 298.6 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3092, allocations: 0 / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3092, allocations: 0 / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.3092, allocations: 0 / 1.325 GB, free: 15.37 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.001082/0.3103, allocations: 0.6379 MB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3103, allocations: 15.98 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.3104, allocations: 30.75 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.3104, allocations: 32.75 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.3109, allocations: 390.6 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.3109, allocations: 384 / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.3109, allocations: 4.375 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3111, allocations: 105.1 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3111, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3111, allocations: 3.984 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3111, allocations: 3.984 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.3112, allocations: 67.88 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.3116, allocations: 360.1 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3118, allocations: 102.4 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.3119, allocations: 59.47 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.3119, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.3119, allocations: 50.42 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3119, allocations: 0 / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003531/0.3123, allocations: 189.2 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.3124, allocations: 128.5 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.313, allocations: 0.5137 MB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.313, allocations: 33.64 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3131, allocations: 164.1 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.3132, allocations: 11.91 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.3132, allocations: 21.7 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3134, allocations: 342.8 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.3134, allocations: 35.95 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.498e-05/0.3135, allocations: 59.41 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3136, allocations: 103.3 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3136, allocations: 0 / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000233/0.3139, allocations: 149.3 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3139, allocations: 12.03 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3139, allocations: 0 / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3139, allocations: 0 / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.314, allocations: 15.98 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.314, allocations: 4 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.3142, allocations: 7.984 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3142, allocations: 7.984 kB / 1.328 GB, free: 11.42 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.0001637/0.3144, allocations: 177.7 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.3144, allocations: 39.7 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.3147, allocations: 191.6 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3148, allocations: 0 / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3148, allocations: 4 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3148, allocations: 0 / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.3151, allocations: 309.5 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3151, allocations: 0 / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.3152, allocations: 19.88 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3152, allocations: 8.125 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.3152, allocations: 0 / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.3152, allocations: 7.984 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3152, allocations: 0 / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.3155, allocations: 187.4 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.3156, allocations: 148.8 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.3157, allocations: 7.922 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3158, allocations: 11.98 kB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.3158, allocations: 4.031 kB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3158, allocations: 4 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005005/0.3163, allocations: 403 kB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3163, allocations: 0 / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002559/0.3166, allocations: 36 kB / 1.33 GB, free: 9.789 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.0005552/0.3171, allocations: 0.7396 MB / 1.33 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3173, allocations: 88.14 kB / 1.33 GB, free: 8.926 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3173, allocations: 0 / 1.33 GB, free: 8.926 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.857e-05/0.3174, allocations: 43.91 kB / 1.33 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.3178, allocations: 69.83 kB / 1.331 GB, free: 8.816 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.3217, allocations: 3.176 MB / 1.334 GB, free: 5.512 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.3222, allocations: 0.8182 MB / 1.334 GB, free: 4.668 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.3223, allocations: 54.27 kB / 1.335 GB, free: 4.617 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.3225, allocations: 79.41 kB / 1.335 GB, free: 4.539 MB / 1.029 GB Notification: Performance of SimCode: time 8.82e-07/0.3225, allocations: 0 / 1.335 GB, free: 4.539 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.3525, allocations: 6.684 MB / 1.341 GB, free: 14.05 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/8.723, allocations: 7.719 kB / 1.341 GB, free: 14.04 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.421157358912751]