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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 496.1 MB / 0.7819 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001926/0.001926, allocations: 71.88 kB / 1.136 GB, free: 12.51 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.958/0.9599, allocations: 173.6 MB / 1.305 GB, free: 33.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002252/0.9621, allocations: 1.596 MB / 1.307 GB, free: 32.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.9633, allocations: 0.9234 MB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.9633, allocations: 2.719 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.9636, allocations: 61.56 kB / 1.308 GB, free: 31.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.964, allocations: 146.9 kB / 1.308 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.206e-05/0.964, allocations: 10.84 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.9643, allocations: 376.8 kB / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.9644, allocations: 14.45 kB / 1.308 GB, free: 31.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.9645, allocations: 145.7 kB / 1.309 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.9647, allocations: 141.4 kB / 1.309 GB, free: 31.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.9647, allocations: 13.91 kB / 1.309 GB, free: 31.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.592e-05/0.9647, allocations: 17.19 kB / 1.309 GB, free: 31.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.9648, allocations: 46.64 kB / 1.309 GB, free: 31.42 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.9649, allocations: 129.8 kB / 1.309 GB, free: 31.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.9651, allocations: 290.5 kB / 1.309 GB, free: 31.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.9651, allocations: 0 / 1.309 GB, free: 31.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9651, allocations: 0 / 1.309 GB, free: 31.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.9652, allocations: 2.688 kB / 1.309 GB, free: 31.24 MB / 1.061 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.0009572/0.9661, allocations: 0.6384 MB / 1.31 GB, free: 30.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.9661, allocations: 11.78 kB / 1.31 GB, free: 30.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.9662, allocations: 32.27 kB / 1.31 GB, free: 30.69 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.9666, allocations: 394.8 kB / 1.31 GB, free: 30.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.9666, allocations: 3.281 kB / 1.31 GB, free: 30.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.9667, allocations: 384 / 1.31 GB, free: 30.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.9668, allocations: 104.4 kB / 1.31 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.9668, allocations: 0 / 1.31 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.9668, allocations: 3.938 kB / 1.31 GB, free: 30.31 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.9668, allocations: 0 / 1.31 GB, free: 30.31 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.9669, allocations: 79.78 kB / 1.31 GB, free: 30.29 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.9673, allocations: 350.2 kB / 1.311 GB, free: 30.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.433e-05/0.9674, allocations: 105.3 kB / 1.311 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.9674, allocations: 61.95 kB / 1.311 GB, free: 29.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.9674, allocations: 6.781 kB / 1.311 GB, free: 29.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.9675, allocations: 38.5 kB / 1.311 GB, free: 29.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.9675, allocations: 0 / 1.311 GB, free: 29.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003055/0.9678, allocations: 189.9 kB / 1.311 GB, free: 29.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.9678, allocations: 128.5 kB / 1.311 GB, free: 29.58 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/0.9683, allocations: 0.5161 MB / 1.312 GB, free: 29.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.9683, allocations: 25.7 kB / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.9684, allocations: 159.2 kB / 1.312 GB, free: 29.19 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.9684, allocations: 21.75 kB / 1.312 GB, free: 29.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.9685, allocations: 23.25 kB / 1.312 GB, free: 29.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.9685, allocations: 342.1 kB / 1.312 GB, free: 28.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.9686, allocations: 33.84 kB / 1.312 GB, free: 28.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.085e-05/0.9686, allocations: 59.66 kB / 1.312 GB, free: 28.78 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.9687, allocations: 103.9 kB / 1.312 GB, free: 28.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9687, allocations: 0 / 1.312 GB, free: 28.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000174/0.9689, allocations: 155.9 kB / 1.313 GB, free: 28.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.9689, allocations: 10 kB / 1.313 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9689, allocations: 0 / 1.313 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.969, allocations: 6.969 kB / 1.313 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.9691, allocations: 11 kB / 1.313 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.9691, allocations: 0 / 1.313 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.9692, allocations: 13.36 kB / 1.313 GB, free: 28.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.9692, allocations: 10.17 kB / 1.313 GB, free: 28.63 MB / 1.061 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.0001138/0.9693, allocations: 175.8 kB / 1.313 GB, free: 28.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.9694, allocations: 34.06 kB / 1.313 GB, free: 28.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.9697, allocations: 183.9 kB / 1.313 GB, free: 28.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.9697, allocations: 2.75 kB / 1.313 GB, free: 28.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.9697, allocations: 4.125 kB / 1.313 GB, free: 28.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9697, allocations: 2.875 kB / 1.313 GB, free: 28.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.9699, allocations: 315.4 kB / 1.313 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9699, allocations: 0 / 1.313 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.333e-05/0.97, allocations: 18.64 kB / 1.313 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.97, allocations: 6.812 kB / 1.313 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.97, allocations: 6.75 kB / 1.313 GB, free: 28.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.97, allocations: 0 / 1.313 GB, free: 28.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.97, allocations: 6.188 kB / 1.313 GB, free: 28.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.9702, allocations: 189.4 kB / 1.314 GB, free: 28 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.9703, allocations: 141.4 kB / 1.314 GB, free: 27.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.9703, allocations: 2.656 kB / 1.314 GB, free: 27.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.9705, allocations: 8.984 kB / 1.314 GB, free: 27.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.9705, allocations: 13.03 kB / 1.314 GB, free: 27.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.9705, allocations: 6.844 kB / 1.314 GB, free: 27.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003362/0.9708, allocations: 390.8 kB / 1.314 GB, free: 27.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9708, allocations: 0 / 1.314 GB, free: 27.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002463/0.9711, allocations: 40.34 kB / 1.314 GB, free: 27.7 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 8.305e-05/0.9712, allocations: 101.9 kB / 1.314 GB, free: 27.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.9713, allocations: 87.58 kB / 1.314 GB, free: 27.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9713, allocations: 0 / 1.314 GB, free: 27.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/0.9714, allocations: 47.91 kB / 1.314 GB, free: 27.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.9718, allocations: 72.22 kB / 1.314 GB, free: 27.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008086/0.9726, allocations: 0.6044 MB / 1.315 GB, free: 27.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.9727, allocations: 0.8153 MB / 1.316 GB, free: 26.49 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.9729, allocations: 44.09 kB / 1.316 GB, free: 26.49 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.9729, allocations: 32.88 kB / 1.316 GB, free: 26.47 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.9729, allocations: 0 / 1.316 GB, free: 26.47 MB / 1.061 GB Notification: Performance of Templates: time 0.006779/0.9797, allocations: 3.637 MB / 1.319 GB, free: 26.24 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 400] 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.971385308541358]