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.001777/0.001777, allocations: 114.2 kB / 17.13 MB, free: 6.008 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.002125/0.002125, allocations: 213.5 kB / 20.1 MB, free: 3.059 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.544/1.544, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.948/2.948, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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: 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_12_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_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") [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.002045/0.002045, allocations: 63.89 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002349/1.042, allocations: 1.595 MB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001102/1.043, allocations: 0.9574 MB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/1.043, allocations: 3.938 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002252/1.043, allocations: 69.83 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003934/1.044, allocations: 143.8 kB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.292e-05/1.044, allocations: 10.19 kB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003098/1.044, allocations: 369 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.108e-05/1.044, allocations: 30.84 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/1.044, allocations: 151.6 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/1.044, allocations: 144.1 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/1.044, allocations: 16.38 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.546e-05/1.044, allocations: 13.91 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/1.044, allocations: 46.48 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.64e-05/1.045, allocations: 137.5 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/1.045, allocations: 293.4 kB / 1.326 GB, free: 22.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.045, allocations: 0 / 1.326 GB, free: 22.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/1.045, allocations: 0 / 1.326 GB, free: 22.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.111e-06/1.045, allocations: 0 / 1.326 GB, free: 22.61 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.000902/1.046, allocations: 0.6397 MB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/1.046, allocations: 11.95 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/1.046, allocations: 33.98 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/1.046, allocations: 393.2 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/1.046, allocations: 1.188 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/1.046, allocations: 6.25 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/1.046, allocations: 105.8 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.046, allocations: 0.9062 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/1.046, allocations: 0 / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.046, allocations: 1.188 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/1.047, allocations: 69.48 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/1.047, allocations: 352.9 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/1.047, allocations: 104 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.842e-05/1.047, allocations: 70.22 kB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/1.047, allocations: 0.9062 kB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/1.047, allocations: 36.94 kB / 1.328 GB, free: 21.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/1.047, allocations: 0 / 1.328 GB, free: 21.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003395/1.047, allocations: 191.8 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/1.047, allocations: 138.3 kB / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006212/1.048, allocations: 0.5135 MB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/1.048, allocations: 26.2 kB / 1.328 GB, free: 20.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/1.048, allocations: 165.7 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/1.048, allocations: 10.09 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/1.048, allocations: 22.44 kB / 1.329 GB, free: 20.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/1.048, allocations: 342.9 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/1.048, allocations: 39.33 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/1.048, allocations: 65.03 kB / 1.329 GB, free: 20.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/1.049, allocations: 108.3 kB / 1.329 GB, free: 20.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.049, allocations: 4 kB / 1.329 GB, free: 20.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002166/1.049, allocations: 142.4 kB / 1.329 GB, free: 20.01 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.049, allocations: 10 kB / 1.329 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.049, allocations: 1.312 kB / 1.329 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.049, allocations: 1.281 kB / 1.329 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/1.049, allocations: 10.23 kB / 1.329 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/1.049, allocations: 1.719 kB / 1.329 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/1.049, allocations: 16.56 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/1.049, allocations: 2.25 kB / 1.329 GB, free: 20 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.0001279/1.049, allocations: 184.2 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/1.049, allocations: 41.98 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/1.05, allocations: 174.1 kB / 1.33 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.05, allocations: 2.281 kB / 1.33 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.05, allocations: 5.438 kB / 1.33 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/1.05, allocations: 5.375 kB / 1.33 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/1.05, allocations: 308.9 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.05, allocations: 1.797 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/1.05, allocations: 14.28 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.05, allocations: 5.344 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/1.05, allocations: 2.328 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.05, allocations: 2.266 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.05, allocations: 1.125 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/1.05, allocations: 194 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/1.05, allocations: 144.4 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/1.05, allocations: 6.797 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/1.051, allocations: 10.41 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/1.051, allocations: 5.531 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/1.051, allocations: 6.969 kB / 1.33 GB, free: 19.24 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004573/1.051, allocations: 400.6 kB / 1.331 GB, free: 19.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.051, allocations: 0 / 1.331 GB, free: 19.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002555/1.051, allocations: 38.19 kB / 1.331 GB, free: 19.07 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.402e-05/1.051, allocations: 107 kB / 1.331 GB, free: 18.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001925/1.052, allocations: 87.09 kB / 1.331 GB, free: 18.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.052, allocations: 3.938 kB / 1.331 GB, free: 18.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.106e-05/1.052, allocations: 45.67 kB / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/1.052, allocations: 63.84 kB / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009711/1.053, allocations: 0.6117 MB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/1.053, allocations: 0.8122 MB / 1.332 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/1.053, allocations: 25.2 kB / 1.332 GB, free: 17.83 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.053, allocations: 1.25 kB / 1.332 GB, free: 17.83 MB / 1.061 GB Notification: Performance of Templates: time 0.007329/1.061, allocations: 3.734 MB / 1.336 GB, free: 17.5 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 400] 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/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: 12.143876115995226]