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.0007905/0.0007905, 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.0008371/0.0008371, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8604/0.8604, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.691/1.691, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.538e-06/1.06e-05, allocations: 9.094 kB / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001583/0.001594, allocations: 1.574 MB / 0.9824 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.002453, allocations: 0.8644 MB / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.002515, allocations: 4 kB / 0.9833 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.002712, allocations: 55.67 kB / 0.9833 GB, free: 120 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.003099, allocations: 151.1 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 2.732e-05/0.003126, allocations: 7.984 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.003428, allocations: 392.2 kB / 0.9839 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.003475, allocations: 12.94 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.003701, allocations: 203.4 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.003836, allocations: 127.7 kB / 0.9842 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.00386, allocations: 16 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.37e-05/0.003884, allocations: 19.94 kB / 0.9842 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.003944, allocations: 43.78 kB / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.004009, allocations: 75.78 kB / 0.9844 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.004229, allocations: 283 kB / 0.9846 GB, free: 14.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004231, allocations: 0 / 0.9846 GB, free: 14.81 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004232, allocations: 0 / 0.9846 GB, free: 14.81 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.004237, allocations: 3.938 kB / 0.9846 GB, free: 14.81 MB / 0.948 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.0007246/0.004962, allocations: 0.5588 MB / 0.9852 GB, free: 14.22 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.004999, allocations: 8.031 kB / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.00503, allocations: 34.75 kB / 0.9852 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.005076, allocations: 32.7 kB / 0.9852 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.005449, allocations: 343.9 kB / 0.9856 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.005459, allocations: 384 / 0.9856 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.005469, allocations: 384 / 0.9856 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.005591, allocations: 101.6 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.005598, allocations: 192 / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.005606, allocations: 4.125 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.005611, allocations: 0 / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.71e-05/0.005678, allocations: 67.88 kB / 0.9857 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.005927, allocations: 291.3 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.619e-05/0.006013, allocations: 110.3 kB / 0.9861 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.006064, allocations: 59.47 kB / 0.9862 GB, free: 13.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.00608, allocations: 4 kB / 0.9862 GB, free: 13.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.006101, allocations: 42.55 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.006101, allocations: 3.938 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002833/0.006385, allocations: 185.2 kB / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.00643, allocations: 132.5 kB / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/0.006822, allocations: 0.5171 MB / 0.987 GB, free: 12.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.006834, allocations: 26.2 kB / 0.9871 GB, free: 12.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.006916, allocations: 164.1 kB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.006946, allocations: 23.83 kB / 0.9872 GB, free: 11.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.006978, allocations: 25.7 kB / 0.9873 GB, free: 11.85 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.007081, allocations: 338.8 kB / 0.9876 GB, free: 11.51 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.00712, allocations: 31.97 kB / 0.9876 GB, free: 11.48 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/0.007174, allocations: 59.39 kB / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.007276, allocations: 103.3 kB / 0.9878 GB, free: 11.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.007278, allocations: 0 / 0.9878 GB, free: 11.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001514/0.00743, allocations: 157.2 kB / 0.9879 GB, free: 11.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.007444, allocations: 8 kB / 0.9879 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.007449, allocations: 0 / 0.9879 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.007463, allocations: 3.938 kB / 0.9879 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.007541, allocations: 11.98 kB / 0.9879 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.007548, allocations: 7.938 kB / 0.988 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.007622, allocations: 7.984 kB / 0.988 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.007632, allocations: 4 kB / 0.988 GB, free: 11.09 MB / 0.948 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.0001167/0.007749, allocations: 177.9 kB / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.007778, allocations: 31.81 kB / 0.9882 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.008, allocations: 191.7 kB / 0.9883 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.008006, allocations: 3.938 kB / 0.9883 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.00801, allocations: 4 kB / 0.9884 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.008013, allocations: 0 / 0.9884 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.008191, allocations: 248.6 kB / 0.9886 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008192, allocations: 3.938 kB / 0.9886 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.008237, allocations: 16.11 kB / 0.9886 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.008238, allocations: 4 kB / 0.9886 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.008247, allocations: 8 kB / 0.9886 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.008249, allocations: 3.938 kB / 0.9886 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00825, allocations: 0 / 0.9886 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.0084, allocations: 195.3 kB / 0.9888 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.00848, allocations: 59.78 kB / 0.9889 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.008504, allocations: 7.938 kB / 0.9889 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.00857, allocations: 11.92 kB / 0.9889 GB, free: 10.06 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.008587, allocations: 7.984 kB / 0.9889 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.008592, allocations: 4 kB / 0.9889 GB, free: 10.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002842/0.008876, allocations: 399 kB / 0.9893 GB, free: 9.664 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.008876, allocations: 0 / 0.9893 GB, free: 9.664 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001677/0.009044, allocations: 39.94 kB / 0.9893 GB, free: 9.625 MB / 0.948 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.0003331/0.009377, allocations: 0.7284 MB / 0.99 GB, free: 8.859 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.009511, allocations: 91.86 kB / 0.9901 GB, free: 8.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.009513, allocations: 0 / 0.9901 GB, free: 8.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.009555, allocations: 48.33 kB / 0.9902 GB, free: 8.723 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.0098, allocations: 65.83 kB / 0.9902 GB, free: 8.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.01231, allocations: 3.187 MB / 0.9933 GB, free: 5.348 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.01242, allocations: 207.4 kB / 0.9935 GB, free: 5.129 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.043e-05/0.01251, allocations: 54.25 kB / 0.9936 GB, free: 5.074 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.01262, allocations: 80.47 kB / 0.9937 GB, free: 4.996 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/0.01262, allocations: 0 / 0.9937 GB, free: 4.996 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.03065, allocations: 7.694 MB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.677/6.708, allocations: 6.219 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.744037367403507]