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.002474/0.002474, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 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.002841/0.002841, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.537/1.537, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.316/3.316, allocations: 429.5 MB / 0.6729 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8774 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.171e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002934/0.002955, allocations: 1.62 MB / 0.879 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.004623, allocations: 0.919 MB / 0.8799 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.004689, allocations: 5.688 kB / 0.8799 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.004941, allocations: 59.61 kB / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.005413, allocations: 139.7 kB / 0.8801 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.783e-05/0.005461, allocations: 13.27 kB / 0.8801 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000517/0.005978, allocations: 391.7 kB / 0.8805 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.006026, allocations: 12.94 kB / 0.8805 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.006387, allocations: 203.4 kB / 0.8807 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.006625, allocations: 121.6 kB / 0.8808 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.006669, allocations: 16 kB / 0.8808 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.091e-05/0.00672, allocations: 12 kB / 0.8808 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.414e-05/0.006814, allocations: 55.72 kB / 0.8809 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.006946, allocations: 75.78 kB / 0.8809 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.007309, allocations: 277.8 kB / 0.8812 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.007311, allocations: 0 / 0.8812 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.007312, allocations: 0 / 0.8812 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.007316, allocations: 0 / 0.8812 GB, free: 2.875 MB / 0.8386 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.001269/0.008586, allocations: 0.6817 MB / 0.8819 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.008623, allocations: 12.03 kB / 0.8819 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.452e-05/0.008697, allocations: 28.75 kB / 0.8819 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007878/0.009485, allocations: 334.7 kB / 0.8822 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.009496, allocations: 4.312 kB / 0.8822 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.009514, allocations: 12.36 kB / 0.8822 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.009688, allocations: 101 kB / 0.8823 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.0097, allocations: 4.188 kB / 0.8823 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.009709, allocations: 384 / 0.8823 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.009715, allocations: 3.938 kB / 0.8823 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.009834, allocations: 67.86 kB / 0.8824 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.01032, allocations: 327.7 kB / 0.8827 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.01051, allocations: 144.3 kB / 0.8829 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.01062, allocations: 66.77 kB / 0.8829 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.01063, allocations: 4 kB / 0.8829 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.01067, allocations: 37.39 kB / 0.883 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.01067, allocations: 4 kB / 0.883 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0003751/0.01105, allocations: 181.2 kB / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/0.01114, allocations: 136.4 kB / 0.8833 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008134/0.01196, allocations: 0.5963 MB / 0.8839 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.01198, allocations: 29.69 kB / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.01219, allocations: 234.8 kB / 0.8841 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.01223, allocations: 15.84 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.01229, allocations: 31.86 kB / 0.8842 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003224/0.01262, allocations: 0.5313 MB / 0.8847 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.466e-05/0.01268, allocations: 35.95 kB / 0.8847 GB, free: 15 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.92e-05/0.01277, allocations: 62.72 kB / 0.8848 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.01294, allocations: 110.6 kB / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.01295, allocations: 4 kB / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002434/0.01319, allocations: 141.4 kB / 0.885 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01321, allocations: 8.125 kB / 0.885 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.01321, allocations: 0 / 0.885 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.01323, allocations: 4 kB / 0.885 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.01333, allocations: 15.92 kB / 0.885 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.01335, allocations: 7.938 kB / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.01348, allocations: 7.984 kB / 0.8851 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.0135, allocations: 7.984 kB / 0.8851 GB, free: 14.59 MB / 0.8542 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.0002012/0.0137, allocations: 212.5 kB / 0.8853 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.01376, allocations: 35.77 kB / 0.8853 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.01412, allocations: 183.6 kB / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01412, allocations: 0 / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/0.01414, allocations: 7.938 kB / 0.8855 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01414, allocations: 0 / 0.8855 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.01451, allocations: 284.4 kB / 0.8858 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.01451, allocations: 4.094 kB / 0.8858 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-05/0.0146, allocations: 12 kB / 0.8858 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.01461, allocations: 3.984 kB / 0.8858 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.01462, allocations: 3.984 kB / 0.8858 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01462, allocations: 4.125 kB / 0.8858 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01462, allocations: 4 kB / 0.8858 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.01494, allocations: 215.1 kB / 0.886 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.0151, allocations: 51.75 kB / 0.886 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.01516, allocations: 7.984 kB / 0.886 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.0153, allocations: 11.98 kB / 0.8861 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.01533, allocations: 3.938 kB / 0.8861 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01534, allocations: 4 kB / 0.8861 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000568/0.0159, allocations: 446.9 kB / 0.8865 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0159, allocations: 0 / 0.8865 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002581/0.01616, allocations: 36 kB / 0.8865 GB, free: 13.01 MB / 0.8542 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.0001147/0.01628, allocations: 111.2 kB / 0.8866 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.01648, allocations: 91.53 kB / 0.8867 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01648, allocations: 0 / 0.8867 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.01657, allocations: 51.59 kB / 0.8868 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.01695, allocations: 77.98 kB / 0.8868 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.01803, allocations: 0.5649 MB / 0.8874 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.01825, allocations: 199.3 kB / 0.8876 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00012/0.01837, allocations: 50.23 kB / 0.8876 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.01845, allocations: 20.5 kB / 0.8877 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.01845, allocations: 0 / 0.8877 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of Templates: time 0.008873/0.02732, allocations: 3.845 MB / 0.8914 GB, free: 8.051 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins/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: 8.26201621000655]