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.001815/0.001815, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002201/0.002201, allocations: 157.2 kB / 23.01 MB, free: 4.602 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.465/1.465, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.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.649/2.649, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 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.002085/0.002085, allocations: 71.84 kB / 0.9515 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2874, allocations: 169.9 MB / 1.117 GB, free: 2.645 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002942/0.2904, allocations: 1.561 MB / 1.119 GB, free: 1.074 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.2919, allocations: 0.8762 MB / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.292, allocations: 3.938 kB / 1.12 GB, free: 192 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.2922, allocations: 51.69 kB / 1.12 GB, free: 140 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004906/0.2927, allocations: 143.4 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.826e-05/0.2927, allocations: 15.98 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.2932, allocations: 354.2 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.192e-05/0.2932, allocations: 16.92 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.2935, allocations: 159.3 kB / 1.121 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.2938, allocations: 155.3 kB / 1.121 GB, free: 15.31 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.2938, allocations: 12 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006883/0.2945, allocations: 496.8 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.2946, allocations: 51.72 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.2948, allocations: 111.4 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.2963, allocations: 0.8303 MB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2963, allocations: 0 / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2963, allocations: 0 / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.2963, allocations: 0 / 1.122 GB, free: 13.8 MB / 1.076 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.001376/0.2977, allocations: 0.5937 MB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2978, allocations: 12.03 kB / 1.123 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.2978, allocations: 28.75 kB / 1.123 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.2983, allocations: 324.7 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2984, allocations: 384 / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.2984, allocations: 4.375 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.2985, allocations: 105.4 kB / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2986, allocations: 0 / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.2986, allocations: 4 kB / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2986, allocations: 0 / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.2987, allocations: 71.86 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.299, allocations: 259.8 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.2992, allocations: 110.3 kB / 1.124 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.378e-05/0.2993, allocations: 59.45 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.2993, allocations: 0 / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.2993, allocations: 46.48 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2993, allocations: 0 / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003646/0.2997, allocations: 189.2 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.2998, allocations: 136.5 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.3004, allocations: 0.4976 MB / 1.124 GB, free: 11.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3004, allocations: 25.7 kB / 1.124 GB, free: 11.14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3006, allocations: 172.4 kB / 1.125 GB, free: 10.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.3006, allocations: 11.84 kB / 1.125 GB, free: 10.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.3007, allocations: 49.69 kB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3008, allocations: 342.8 kB / 1.125 GB, free: 10.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.301, allocations: 96.42 kB / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.3013, allocations: 273.6 kB / 1.125 GB, free: 10.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.3016, allocations: 243.2 kB / 1.126 GB, free: 9.898 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3016, allocations: 4 kB / 1.126 GB, free: 9.895 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004502/0.3021, allocations: 297.3 kB / 1.126 GB, free: 9.598 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3021, allocations: 4 kB / 1.126 GB, free: 9.594 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3021, allocations: 7.938 kB / 1.126 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3021, allocations: 0 / 1.126 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.3022, allocations: 19.92 kB / 1.126 GB, free: 9.566 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.3022, allocations: 7.938 kB / 1.126 GB, free: 9.559 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.3024, allocations: 23.83 kB / 1.126 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.3024, allocations: 15.98 kB / 1.126 GB, free: 9.52 MB / 1.076 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.0001841/0.3026, allocations: 177.8 kB / 1.126 GB, free: 9.336 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.3027, allocations: 27.81 kB / 1.126 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.303, allocations: 191.6 kB / 1.126 GB, free: 9.109 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.303, allocations: 0 / 1.126 GB, free: 9.109 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.303, allocations: 0 / 1.126 GB, free: 9.109 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.303, allocations: 4 kB / 1.126 GB, free: 9.105 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.3033, allocations: 209.2 kB / 1.127 GB, free: 8.871 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3033, allocations: 8.125 kB / 1.127 GB, free: 8.863 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.86e-05/0.3034, allocations: 15.92 kB / 1.127 GB, free: 8.848 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3034, allocations: 4 kB / 1.127 GB, free: 8.844 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.3034, allocations: 0 / 1.127 GB, free: 8.844 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.3034, allocations: 7.938 kB / 1.127 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3034, allocations: 0 / 1.127 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.3037, allocations: 191.4 kB / 1.127 GB, free: 8.621 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.3038, allocations: 55.75 kB / 1.127 GB, free: 8.566 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.3039, allocations: 11.94 kB / 1.127 GB, free: 8.555 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.304, allocations: 15.91 kB / 1.127 GB, free: 8.539 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.304, allocations: 4 kB / 1.127 GB, free: 8.535 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.304, allocations: 8 kB / 1.127 GB, free: 8.527 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004631/0.3045, allocations: 375 kB / 1.127 GB, free: 8.164 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3045, allocations: 4 kB / 1.127 GB, free: 8.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004843/0.305, allocations: 103.9 kB / 1.127 GB, free: 8.059 MB / 1.076 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.004994/0.31, allocations: 2.815 MB / 1.13 GB, free: 5.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.3103, allocations: 167.9 kB / 1.13 GB, free: 5.066 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3103, allocations: 0 / 1.13 GB, free: 5.066 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.3104, allocations: 43.91 kB / 1.13 GB, free: 5.023 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.3107, allocations: 66.17 kB / 1.13 GB, free: 4.961 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009769/0.3117, allocations: 0.5947 MB / 1.131 GB, free: 4.328 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.3119, allocations: 203.4 kB / 1.131 GB, free: 4.113 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.312, allocations: 57.84 kB / 1.131 GB, free: 4.055 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.3121, allocations: 28.48 kB / 1.131 GB, free: 4.027 MB / 1.076 GB Notification: Performance of SimCode: time 6.51e-07/0.3121, allocations: 0 / 1.131 GB, free: 4.027 MB / 1.076 GB Notification: Performance of Templates: time 0.4979/0.81, allocations: 7.904 MB / 1.139 GB, free: 58.14 MB / 1.076 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 -s ida -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/jenkins1/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: 8.50464404199738]