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.002094/0.002094, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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: 161.7 kB / 23.55 MB, free: 0.8906 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.515/1.515, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.743/2.743, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.597e-05, allocations: 2.859 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00294/0.002966, allocations: 1.577 MB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.004703, allocations: 0.8699 MB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.004794, allocations: 3.938 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.00507, allocations: 60.14 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.005639, allocations: 144.7 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.806e-05/0.005687, allocations: 19.86 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007376/0.006425, allocations: 375.7 kB / 0.7893 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.245e-05/0.006487, allocations: 12.94 kB / 0.7893 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.006907, allocations: 209 kB / 0.7895 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.007153, allocations: 123.7 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.007199, allocations: 19.34 kB / 0.7897 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007315/0.007931, allocations: 484.8 kB / 0.7901 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.008019, allocations: 47.77 kB / 0.7902 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.008171, allocations: 91.7 kB / 0.7902 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.009841, allocations: 0.9046 MB / 0.7911 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.009844, allocations: 0 / 0.7911 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.009845, allocations: 0 / 0.7911 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.009852, allocations: 0 / 0.7911 GB, free: 7.926 MB / 0.7448 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.001611/0.01146, allocations: 0.5842 MB / 0.7917 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.0115, allocations: 13.44 kB / 0.7917 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.01161, allocations: 32.7 kB / 0.7917 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005781/0.01218, allocations: 328.6 kB / 0.7921 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.0122, allocations: 4.375 kB / 0.7921 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.01222, allocations: 9.406 kB / 0.7921 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.01241, allocations: 93.58 kB / 0.7922 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.01242, allocations: 192 / 0.7922 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.01243, allocations: 1.125 kB / 0.7922 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.01244, allocations: 7.938 kB / 0.7922 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.01256, allocations: 72.55 kB / 0.7922 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.01296, allocations: 253.2 kB / 0.7925 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.01313, allocations: 110.4 kB / 0.7926 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.01323, allocations: 59.41 kB / 0.7926 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.01324, allocations: 4.5 kB / 0.7926 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.01329, allocations: 43.98 kB / 0.7927 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.01329, allocations: 0 / 0.7927 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0004164/0.0137, allocations: 191.4 kB / 0.7929 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.885e-05/0.0138, allocations: 132.5 kB / 0.793 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.01453, allocations: 0.5053 MB / 0.7935 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.01456, allocations: 25.7 kB / 0.7935 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.01471, allocations: 164.3 kB / 0.7937 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.01474, allocations: 14.59 kB / 0.7937 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/0.01483, allocations: 57.58 kB / 0.7937 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.01503, allocations: 338.8 kB / 0.7941 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.01519, allocations: 103.9 kB / 0.7942 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.0155, allocations: 267.1 kB / 0.7944 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.01587, allocations: 239.2 kB / 0.7946 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01587, allocations: 0 / 0.7946 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005048/0.01637, allocations: 302.9 kB / 0.7949 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.01639, allocations: 9.719 kB / 0.7949 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.0164, allocations: 0 / 0.7949 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.01642, allocations: 0 / 0.7949 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.01655, allocations: 20.42 kB / 0.795 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.01656, allocations: 8.438 kB / 0.795 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.01676, allocations: 27.86 kB / 0.795 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.01678, allocations: 4.5 kB / 0.795 GB, free: 3.672 MB / 0.7448 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.0002024/0.01698, allocations: 183.1 kB / 0.7952 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.01704, allocations: 35.77 kB / 0.7952 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.01742, allocations: 178.3 kB / 0.7954 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.01743, allocations: 0 / 0.7954 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.01744, allocations: 7.938 kB / 0.7954 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01744, allocations: 0 / 0.7954 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.01772, allocations: 217.2 kB / 0.7956 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01772, allocations: 0 / 0.7956 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.01782, allocations: 20.48 kB / 0.7956 GB, free: 3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01783, allocations: 1.031 kB / 0.7956 GB, free: 3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01784, allocations: 4 kB / 0.7956 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01784, allocations: 0 / 0.7956 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.01784, allocations: 8.781 kB / 0.7956 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.01815, allocations: 196.2 kB / 0.7958 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.01829, allocations: 63.67 kB / 0.7959 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.01834, allocations: 4 kB / 0.7959 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.0185, allocations: 8.891 kB / 0.7959 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.01853, allocations: 11.92 kB / 0.7959 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.01853, allocations: 7.875 kB / 0.7959 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007332/0.01927, allocations: 383 kB / 0.7963 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01927, allocations: 0 / 0.7963 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005119/0.01978, allocations: 99.94 kB / 0.7964 GB, free: 2.207 MB / 0.7448 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.00531/0.02509, allocations: 2.814 MB / 0.7991 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003623/0.02545, allocations: 163.8 kB / 0.7993 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02545, allocations: 0 / 0.7993 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.02554, allocations: 43.91 kB / 0.7993 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.02594, allocations: 70.36 kB / 0.7994 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.02703, allocations: 0.5972 MB / 0.8 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.02725, allocations: 207.4 kB / 0.8002 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.02739, allocations: 45.92 kB / 0.8002 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.02747, allocations: 24.5 kB / 0.8002 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of SimCode: time 4.81e-07/0.02747, allocations: 0 / 0.8002 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of Templates: time 0.01505/0.04252, allocations: 7.914 MB / 0.808 GB, free: 6.359 MB / 0.7605 GB " [Timeout remaining time 300] 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: 7.949666762957349]