Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001603/0.001603, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002373/0.002373, allocations: 213.3 kB / 22.99 MB, free: 4.984 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 3.155/3.155, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.CorrectedNFactors,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.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_12_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.002083/0.002083, allocations: 63.55 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3081, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002962/0.3111, allocations: 1.574 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3126, allocations: 0.8607 MB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.3127, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.313, allocations: 59.61 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.3135, allocations: 147.3 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.921e-05/0.3135, allocations: 7.938 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.3139, allocations: 366.3 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.927e-05/0.314, allocations: 8.938 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.3143, allocations: 163.3 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.3145, allocations: 135.3 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.3145, allocations: 20 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006565/0.3152, allocations: 492.8 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.3153, allocations: 47.77 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.3154, allocations: 111.3 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.317, allocations: 0.838 MB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.317, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.317, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.317, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 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.00148/0.3185, allocations: 0.5954 MB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3185, allocations: 12.03 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.3186, allocations: 28.75 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/0.3191, allocations: 320.8 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3192, allocations: 8.312 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3192, allocations: 12.38 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3193, allocations: 101.4 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3194, allocations: 3.984 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3194, allocations: 4 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3194, allocations: 0 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3195, allocations: 67.86 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.3198, allocations: 259.8 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.32, allocations: 110.3 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3201, allocations: 59.47 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.3201, allocations: 3.984 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.3201, allocations: 38.56 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3201, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000347/0.3205, allocations: 189.2 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.3206, allocations: 128.5 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/0.3212, allocations: 0.5092 MB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.3212, allocations: 25.7 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3214, allocations: 156.4 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.3214, allocations: 15.94 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.3215, allocations: 54.08 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3216, allocations: 346.8 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3218, allocations: 103.9 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.3221, allocations: 265.5 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.3224, allocations: 247.2 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3224, allocations: 0 / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004386/0.3228, allocations: 297.3 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3228, allocations: 4 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3228, allocations: 7.938 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3229, allocations: 0 / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.323, allocations: 23.92 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.323, allocations: 7.984 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.3232, allocations: 27.83 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.3232, allocations: 4 kB / 1.336 GB, free: 7.867 MB / 1.029 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.0001905/0.3234, allocations: 182.2 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.3234, allocations: 31.81 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.3238, allocations: 179.6 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3238, allocations: 4 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3238, allocations: 0 / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3238, allocations: 4.125 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.3241, allocations: 213.2 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3241, allocations: 0 / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/0.3242, allocations: 19.98 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3242, allocations: 4 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3242, allocations: 0 / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.3242, allocations: 7.875 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3242, allocations: 4 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.3245, allocations: 191.4 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.3246, allocations: 63.67 kB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.3247, allocations: 4 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.3248, allocations: 16.16 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.3248, allocations: 15.92 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3248, allocations: 0 / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004678/0.3253, allocations: 379 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3253, allocations: 0 / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000511/0.3258, allocations: 103.9 kB / 1.337 GB, free: 6.402 MB / 1.029 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.004894/0.3307, allocations: 2.815 MB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.3311, allocations: 163.8 kB / 1.34 GB, free: 3.414 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3311, allocations: 0 / 1.34 GB, free: 3.414 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.3312, allocations: 47.91 kB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.3315, allocations: 61.88 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009999/0.3325, allocations: 0.5959 MB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.3327, allocations: 211.4 kB / 1.341 GB, free: 2.445 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.3329, allocations: 49.92 kB / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.3329, allocations: 19.44 kB / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3329, allocations: 0 / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of Templates: time 0.01385/0.3468, allocations: 8.28 MB / 1.349 GB, free: 10.16 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.98297047399683]