Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.002033/0.002033, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002601/0.002601, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.845/2.845, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [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.00214/0.00214, allocations: 71.28 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3044, allocations: 170 MB / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003359/0.3078, allocations: 1.58 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.3095, allocations: 0.8586 MB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.3096, allocations: 4 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.3099, allocations: 51.69 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000582/0.3105, allocations: 143.3 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.918e-05/0.3105, allocations: 15.92 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004994/0.311, allocations: 362.3 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.957e-05/0.3111, allocations: 12.94 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.3115, allocations: 155.3 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.3118, allocations: 151.3 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.3118, allocations: 16 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007402/0.3125, allocations: 496.8 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3127, allocations: 47.77 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.3128, allocations: 115.3 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.3145, allocations: 0.8342 MB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3145, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3145, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.3145, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 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.001641/0.3162, allocations: 0.5899 MB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3162, allocations: 8.031 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3163, allocations: 36.7 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006491/0.317, allocations: 320.8 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.317, allocations: 4.375 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.317, allocations: 4.375 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.3172, allocations: 105.3 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3173, allocations: 0 / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3173, allocations: 8 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.3173, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.3174, allocations: 67.86 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.3179, allocations: 259.8 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.3181, allocations: 106.4 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.707e-05/0.3182, allocations: 63.39 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.3182, allocations: 4 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.3183, allocations: 42.55 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.3183, allocations: 0 / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003993/0.3187, allocations: 193.2 kB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.3187, allocations: 128.5 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/0.3194, allocations: 0.5092 MB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3194, allocations: 25.7 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.3196, allocations: 156.4 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.3196, allocations: 11.91 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.3197, allocations: 53.64 kB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3199, allocations: 338.8 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.32, allocations: 104.4 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.3203, allocations: 279.1 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.3206, allocations: 239.2 kB / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3206, allocations: 0 / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004898/0.3211, allocations: 301.3 kB / 1.291 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3211, allocations: 4 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3211, allocations: 3.938 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3212, allocations: 7.938 kB / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.3213, allocations: 15.98 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3213, allocations: 3.938 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.3215, allocations: 19.88 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.3215, allocations: 11.98 kB / 1.292 GB, free: 2.742 MB / 0.9825 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001814/0.3217, allocations: 181.7 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.3218, allocations: 35.77 kB / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.3221, allocations: 187.6 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3221, allocations: 4 kB / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3221, allocations: 0 / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3221, allocations: 0 / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3224, allocations: 213.2 kB / 1.292 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3224, allocations: 4.125 kB / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.3225, allocations: 15.98 kB / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3225, allocations: 0 / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.3225, allocations: 8 kB / 1.292 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3225, allocations: 3.938 kB / 1.292 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3225, allocations: 3.938 kB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.3228, allocations: 191.4 kB / 1.292 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.323, allocations: 59.69 kB / 1.292 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.3231, allocations: 3.984 kB / 1.292 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.3232, allocations: 19.92 kB / 1.292 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.3232, allocations: 4 kB / 1.292 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.3232, allocations: 4 kB / 1.292 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000477/0.3237, allocations: 383 kB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3237, allocations: 3.938 kB / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000595/0.3243, allocations: 103.9 kB / 1.293 GB, free: 1.273 MB / 0.9825 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.004981/0.3293, allocations: 2.811 MB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.3298, allocations: 167.8 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3298, allocations: 0 / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.3299, allocations: 43.91 kB / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.3304, allocations: 62.25 kB / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.3317, allocations: 0.5959 MB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.332, allocations: 211.4 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.3321, allocations: 49.92 kB / 1.297 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.3322, allocations: 27.42 kB / 1.297 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/0.3322, allocations: 0 / 1.297 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of Templates: time 0.01605/0.3483, allocations: 8.232 MB / 1.305 GB, free: 5.086 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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: 9.13185579329729]