Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007311/0.0007311, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001746, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008804/0.0008804, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009633/0.001844, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.8952/0.8952, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09582/0.991, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.332/2.332, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2581/2.59, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.[0-9,]+..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.205e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002291/0.002313, allocations: 1.69 MB / 0.8206 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009741/0.003288, allocations: 0.946 MB / 0.8215 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.003354, allocations: 7.938 kB / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.003515, allocations: 55.69 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.003854, allocations: 151.1 kB / 0.8217 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.049e-05/0.003885, allocations: 7.938 kB / 0.8217 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.004184, allocations: 382.1 kB / 0.8221 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.382e-05/0.004238, allocations: 26.88 kB / 0.8221 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.004573, allocations: 280.5 kB / 0.8224 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.004721, allocations: 123.7 kB / 0.8225 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.004747, allocations: 12 kB / 0.8225 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006334/0.00538, allocations: 0.575 MB / 0.823 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.005448, allocations: 35.8 kB / 0.8231 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.634e-05/0.005525, allocations: 67.81 kB / 0.8231 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0008701/0.006395, allocations: 0.7683 MB / 0.8239 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.006407, allocations: 0 / 0.8239 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.222e-06/0.006408, allocations: 0 / 0.8239 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.006421, allocations: 0 / 0.8239 GB, free: 13.38 MB / 0.8073 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.0008926/0.007313, allocations: 0.6635 MB / 0.8245 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.007345, allocations: 12.03 kB / 0.8246 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.007398, allocations: 20.91 kB / 0.8246 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.007645, allocations: 244.9 kB / 0.8248 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.007655, allocations: 12.31 kB / 0.8248 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.007669, allocations: 4.375 kB / 0.8248 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.689e-05/0.007756, allocations: 73.56 kB / 0.8249 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.007762, allocations: 192 / 0.8249 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.00777, allocations: 4.375 kB / 0.8249 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.007778, allocations: 7.938 kB / 0.8249 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.0078, allocations: 15.92 kB / 0.8249 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.007913, allocations: 99.59 kB / 0.825 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.419e-05/0.007977, allocations: 74.52 kB / 0.8251 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.008005, allocations: 27.44 kB / 0.8251 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.008017, allocations: 4 kB / 0.8251 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.008039, allocations: 42.5 kB / 0.8252 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.00804, allocations: 0 / 0.8252 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001423/0.008182, allocations: 77.8 kB / 0.8252 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.008228, allocations: 132.5 kB / 0.8254 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.00845, allocations: 335.3 kB / 0.8257 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.008469, allocations: 29.7 kB / 0.8257 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.008519, allocations: 121 kB / 0.8258 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.008542, allocations: 15.91 kB / 0.8258 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.00859, allocations: 49.66 kB / 0.8259 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003464/0.008937, allocations: 346.7 kB / 0.8262 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.00898, allocations: 18.81 kB / 0.8262 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.009063, allocations: 180.7 kB / 0.8264 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.494e-05/0.009158, allocations: 106.8 kB / 0.8265 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.009161, allocations: 0 / 0.8265 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001404/0.009301, allocations: 124.8 kB / 0.8266 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.009314, allocations: 4 kB / 0.8266 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.009323, allocations: 3.938 kB / 0.8266 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.009338, allocations: 4 kB / 0.8266 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.009427, allocations: 15.98 kB / 0.8267 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.009431, allocations: 4 kB / 0.8267 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-05/0.009517, allocations: 19.83 kB / 0.8267 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.009527, allocations: 7.984 kB / 0.8267 GB, free: 10.2 MB / 0.8073 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 7.407e-05/0.009601, allocations: 124.6 kB / 0.8268 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.009624, allocations: 15.98 kB / 0.8268 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.009781, allocations: 107.7 kB / 0.8269 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.009783, allocations: 0 / 0.8269 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.009786, allocations: 7.938 kB / 0.8269 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.00979, allocations: 3.984 kB / 0.8269 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.009909, allocations: 133.7 kB / 0.8271 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.009914, allocations: 7.984 kB / 0.8271 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.009964, allocations: 16.12 kB / 0.8271 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.01002, allocations: 35.75 kB / 0.8271 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01002, allocations: 4 kB / 0.8271 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.01003, allocations: 4.234 kB / 0.8271 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01003, allocations: 4 kB / 0.8271 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01003, allocations: 0 / 0.8271 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.01014, allocations: 115.5 kB / 0.8272 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.01016, allocations: 11.92 kB / 0.8272 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.708e-05/0.01022, allocations: 4 kB / 0.8273 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.01024, allocations: 7.984 kB / 0.8273 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.01024, allocations: 4 kB / 0.8273 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001176/0.01036, allocations: 152.7 kB / 0.8274 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01036, allocations: 0 / 0.8274 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003646/0.01072, allocations: 103.9 kB / 0.8275 GB, free: 9.289 MB / 0.8073 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.002688/0.01341, allocations: 2.797 MB / 0.8302 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.01358, allocations: 64.78 kB / 0.8303 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/0.01359, allocations: 4 kB / 0.8303 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.106e-05/0.01363, allocations: 36.77 kB / 0.8303 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.01401, allocations: 466.2 kB / 0.8308 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.01612, allocations: 0.518 MB / 0.8313 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.934e-05/0.01618, allocations: 103.9 kB / 0.8314 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.238e-05/0.01626, allocations: 18.2 kB / 0.8314 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.0164, allocations: 95.34 kB / 0.8315 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of SimCode: time 1.213e-06/0.01641, allocations: 4 kB / 0.8315 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of Templates: time 0.009885/0.02629, allocations: 8.209 MB / 0.8395 GB, free: 12.9 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.515989929437637]