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.00184/0.00184, 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.002291/0.002291, allocations: 212.3 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.317/3.317, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..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.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_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.002112/0.002112, allocations: 64.3 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3845, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002752/0.3872, allocations: 1.577 MB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3888, allocations: 0.8617 MB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.317e-05/0.3889, allocations: 4 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.3891, allocations: 55.61 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.3896, allocations: 147.2 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-05/0.3897, allocations: 8 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.3902, allocations: 370.2 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.338e-05/0.3903, allocations: 16.92 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.3906, allocations: 155.3 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.3908, allocations: 143.4 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.3908, allocations: 16 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000667/0.3915, allocations: 488.8 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.3916, allocations: 51.75 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.3917, allocations: 115.3 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.3933, allocations: 0.838 MB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3933, allocations: 0 / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3933, allocations: 0 / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.3933, allocations: 0 / 1.369 GB, free: 8.75 MB / 1.061 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.001534/0.3948, allocations: 0.5899 MB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3949, allocations: 8.031 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.395, allocations: 36.7 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/0.3956, allocations: 312.8 kB / 1.369 GB, free: 7.762 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/0.3956, allocations: 8.359 kB / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.3957, allocations: 4.375 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3958, allocations: 109.3 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3958, allocations: 4 kB / 1.37 GB, free: 7.621 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3958, allocations: 0 / 1.37 GB, free: 7.621 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3959, allocations: 4 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.396, allocations: 67.86 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.3963, allocations: 259.8 kB / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3965, allocations: 106.4 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.3966, allocations: 59.41 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.3967, allocations: 4 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3967, allocations: 42.55 kB / 1.37 GB, free: 6.992 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3967, allocations: 0 / 1.37 GB, free: 6.992 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003648/0.3971, allocations: 193.6 kB / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.505e-05/0.3972, allocations: 128.5 kB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.3978, allocations: 0.5053 MB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.3978, allocations: 25.7 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3979, allocations: 160.4 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.3979, allocations: 15.84 kB / 1.371 GB, free: 5.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.398, allocations: 53.64 kB / 1.371 GB, free: 5.855 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3982, allocations: 338.8 kB / 1.371 GB, free: 5.516 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3983, allocations: 103.9 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.3986, allocations: 275.2 kB / 1.372 GB, free: 5.098 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.3989, allocations: 243.2 kB / 1.372 GB, free: 4.848 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.399, allocations: 4.062 kB / 1.372 GB, free: 4.844 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004368/0.3994, allocations: 301.3 kB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3994, allocations: 6.344 kB / 1.372 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3994, allocations: 3.938 kB / 1.372 GB, free: 4.535 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3994, allocations: 4 kB / 1.372 GB, free: 4.531 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.3996, allocations: 15.98 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3996, allocations: 0 / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.3997, allocations: 23.86 kB / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.3998, allocations: 8 kB / 1.372 GB, free: 4.484 MB / 1.061 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.00018/0.3999, allocations: 186.7 kB / 1.373 GB, free: 4.293 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.4001, allocations: 39.77 kB / 1.373 GB, free: 4.254 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/0.4004, allocations: 179.6 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4004, allocations: 4 kB / 1.373 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4004, allocations: 0 / 1.373 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4004, allocations: 0 / 1.373 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.4009, allocations: 217.2 kB / 1.373 GB, free: 3.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4009, allocations: 0 / 1.373 GB, free: 3.824 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.73e-05/0.401, allocations: 15.98 kB / 1.373 GB, free: 3.809 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.401, allocations: 4.359 kB / 1.373 GB, free: 3.805 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.401, allocations: 4 kB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.401, allocations: 3.938 kB / 1.373 GB, free: 3.797 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.401, allocations: 4 kB / 1.373 GB, free: 3.793 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.4014, allocations: 199.3 kB / 1.373 GB, free: 3.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.4015, allocations: 63.67 kB / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.4016, allocations: 4 kB / 1.373 GB, free: 3.504 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.4017, allocations: 15.92 kB / 1.373 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.4017, allocations: 7.984 kB / 1.373 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.4017, allocations: 0 / 1.373 GB, free: 3.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004615/0.4022, allocations: 383 kB / 1.374 GB, free: 3.109 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4022, allocations: 0 / 1.374 GB, free: 3.109 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004927/0.4027, allocations: 103.9 kB / 1.374 GB, free: 3.008 MB / 1.061 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.004947/0.4076, allocations: 2.811 MB / 1.376 GB, free: 188 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003793/0.408, allocations: 171.8 kB / 1.377 GB, free: 16 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.408, allocations: 0 / 1.377 GB, free: 16 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.997e-05/0.4081, allocations: 43.91 kB / 1.377 GB, free: 15.97 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.4085, allocations: 61.81 kB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.4096, allocations: 0.592 MB / 1.377 GB, free: 15.28 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.4098, allocations: 211.4 kB / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.4099, allocations: 42.3 kB / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.41, allocations: 27.44 kB / 1.378 GB, free: 14.99 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.41, allocations: 4 kB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of Templates: time 0.014/0.424, allocations: 8.245 MB / 1.386 GB, free: 6.824 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.43896117247641]