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.0007984/0.0007984, 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.0008582/0.0008582, allocations: 170.3 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.8574/0.8574, 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.693/1.693, allocations: 377.9 MB / 0.6221 GB, free: 8.652 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.833e-06/1.833e-06, allocations: 0 / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.328e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002103/0.002126, allocations: 1.566 MB / 0.9824 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.003201, allocations: 0.8683 MB / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/0.00328, allocations: 3.938 kB / 0.9833 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.003511, allocations: 51.69 kB / 0.9833 GB, free: 124 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0004583/0.003969, allocations: 151.1 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 3.281e-05/0.004002, allocations: 7.984 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.004317, allocations: 396.6 kB / 0.9839 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.004371, allocations: 12.92 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.004662, allocations: 203.4 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.004808, allocations: 123.7 kB / 0.9842 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.004831, allocations: 12 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.351e-05/0.004854, allocations: 16 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.004915, allocations: 55.72 kB / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.004983, allocations: 79.78 kB / 0.9844 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.005193, allocations: 279 kB / 0.9846 GB, free: 14.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005196, allocations: 0 / 0.9846 GB, free: 14.81 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.133e-06/0.005197, allocations: 0 / 0.9846 GB, free: 14.81 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.005203, allocations: 0 / 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.0007494/0.005952, allocations: 0.5613 MB / 0.9852 GB, free: 14.22 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.005993, allocations: 8.031 kB / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.006027, allocations: 38.67 kB / 0.9852 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.006069, allocations: 36.7 kB / 0.9852 GB, free: 14.13 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.006419, allocations: 328 kB / 0.9856 GB, free: 13.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.00643, allocations: 12.38 kB / 0.9856 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.00644, allocations: 4.312 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.006555, allocations: 93.64 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.006562, allocations: 4.188 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.006572, allocations: 4.125 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.006576, allocations: 0 / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/0.006647, allocations: 71.86 kB / 0.9857 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.006911, allocations: 295.2 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.455e-05/0.006995, allocations: 110.4 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.007049, allocations: 63.39 kB / 0.9862 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.007064, allocations: 3.938 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.007082, allocations: 34.56 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.007083, allocations: 0 / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0003039/0.007387, allocations: 193.2 kB / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.007433, allocations: 132.5 kB / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.007841, allocations: 0.5093 MB / 0.987 GB, free: 12.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.007854, allocations: 29.7 kB / 0.9871 GB, free: 12.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.007939, allocations: 168.1 kB / 0.9872 GB, free: 11.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.007963, allocations: 7.906 kB / 0.9872 GB, free: 11.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.007999, allocations: 25.66 kB / 0.9873 GB, free: 11.86 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.008094, allocations: 346.8 kB / 0.9876 GB, free: 11.51 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/0.008138, allocations: 36.41 kB / 0.9876 GB, free: 11.48 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.591e-05/0.008183, allocations: 63.39 kB / 0.9877 GB, free: 11.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.801e-05/0.008281, allocations: 103.3 kB / 0.9878 GB, free: 11.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.008284, allocations: 4 kB / 0.9878 GB, free: 11.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000136/0.00842, allocations: 141.4 kB / 0.9879 GB, free: 11.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.008433, allocations: 4 kB / 0.9879 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.00844, allocations: 8.125 kB / 0.9879 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.008455, allocations: 3.938 kB / 0.9879 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.008542, allocations: 11.98 kB / 0.9879 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.008548, allocations: 0 / 0.9879 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.008626, allocations: 15.92 kB / 0.988 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.008636, 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.0001117/0.008747, allocations: 185.6 kB / 0.9881 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.008775, allocations: 31.81 kB / 0.9882 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.008989, allocations: 183.8 kB / 0.9883 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.008992, allocations: 3.938 kB / 0.9884 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.008997, allocations: 4 kB / 0.9884 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.009001, allocations: 3.984 kB / 0.9884 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.009177, allocations: 244.6 kB / 0.9886 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.009178, allocations: 0 / 0.9886 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.009223, allocations: 15.94 kB / 0.9886 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.009225, allocations: 4 kB / 0.9886 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.009233, allocations: 0 / 0.9886 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.009238, allocations: 11.92 kB / 0.9886 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.00924, allocations: 0 / 0.9886 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.009391, allocations: 195.4 kB / 0.9888 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.009475, allocations: 63.72 kB / 0.9889 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.0095, allocations: 7.953 kB / 0.9889 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.009568, allocations: 19.92 kB / 0.9889 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.009586, allocations: 7.984 kB / 0.9889 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.00959, allocations: 0 / 0.9889 GB, free: 10.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002858/0.009876, allocations: 399 kB / 0.9893 GB, free: 9.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.009876, allocations: 0 / 0.9893 GB, free: 9.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001759/0.01005, allocations: 44 kB / 0.9893 GB, free: 9.617 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.0003417/0.01039, allocations: 0.7274 MB / 0.99 GB, free: 8.855 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.01052, allocations: 83.86 kB / 0.9901 GB, free: 8.773 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01053, allocations: 0 / 0.9901 GB, free: 8.773 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.143e-05/0.01057, allocations: 47.91 kB / 0.9902 GB, free: 8.727 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.01082, allocations: 66.34 kB / 0.9902 GB, free: 8.664 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.01322, allocations: 3.182 MB / 0.9933 GB, free: 5.359 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.01333, allocations: 215.4 kB / 0.9935 GB, free: 5.133 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.188e-05/0.01342, allocations: 50.27 kB / 0.9936 GB, free: 5.082 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.01352, allocations: 88.45 kB / 0.9937 GB, free: 4.996 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/0.01353, allocations: 0 / 0.9937 GB, free: 4.996 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.0332, allocations: 7.682 MB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/6.934, allocations: 17.97 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 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.mat","/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.85095343645662]