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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 193.2 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.853/2.853, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002047/0.002047, allocations: 63.91 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.873/0.8751, allocations: 168.7 MB / 1.274 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003678/0.8788, allocations: 1.611 MB / 1.276 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.8804, allocations: 0.9284 MB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.8805, allocations: 3.938 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.8808, allocations: 59.7 kB / 1.277 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005106/0.8813, allocations: 143.3 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.506e-05/0.8814, allocations: 15.94 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004839/0.8818, allocations: 366.2 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.8819, allocations: 16.73 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.8822, allocations: 143.4 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.8824, allocations: 139.3 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.8824, allocations: 16 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007478/0.8832, allocations: 0.5319 MB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.8833, allocations: 51.77 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.8834, allocations: 135.2 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.8848, allocations: 0.8484 MB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8848, allocations: 4 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8848, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.8848, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 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.001479/0.8863, allocations: 0.6574 MB / 1.28 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.8863, allocations: 12.03 kB / 1.28 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.831e-05/0.8864, allocations: 36.7 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.8869, allocations: 374.6 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.8869, allocations: 4.375 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.887, allocations: 4.375 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.8871, allocations: 109.3 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.8871, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.8872, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.8872, allocations: 7.938 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.8873, allocations: 67.86 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.8877, allocations: 340.1 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.8878, allocations: 106.5 kB / 1.281 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.013e-05/0.8879, allocations: 67.27 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.8879, allocations: 7.984 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.8879, allocations: 38.5 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.8879, allocations: 0 / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003546/0.8883, allocations: 185.2 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.8884, allocations: 136.5 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/0.889, allocations: 0.4975 MB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.889, allocations: 30.2 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.8892, allocations: 168.4 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.8892, allocations: 7.906 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.8893, allocations: 49.69 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.8894, allocations: 342.8 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.8896, allocations: 99.88 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.8898, allocations: 166.7 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.8901, allocations: 235.2 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8901, allocations: 0 / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004273/0.8906, allocations: 293.3 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.8906, allocations: 7.938 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.8906, allocations: 0 / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.8906, allocations: 4 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.8907, allocations: 15.98 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.8907, allocations: 7.938 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.8909, allocations: 27.88 kB / 1.283 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.8909, allocations: 4 kB / 1.283 GB, free: 11.18 MB / 0.9825 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.0001863/0.8911, allocations: 181.7 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.8912, allocations: 39.7 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.8915, allocations: 175.8 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8915, allocations: 11.95 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.8915, allocations: 4 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8915, allocations: 0 / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.8918, allocations: 293.4 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8918, allocations: 0 / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.941e-05/0.8919, allocations: 12 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.892, allocations: 4.172 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.892, allocations: 7.984 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.892, allocations: 4 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.892, allocations: 7.938 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.8923, allocations: 191.4 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.8925, allocations: 140.7 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.8925, allocations: 7.984 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.8926, allocations: 7.984 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.8927, allocations: 8 kB / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.8927, allocations: 4 kB / 1.284 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004617/0.8931, allocations: 383 kB / 1.284 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8931, allocations: 0 / 1.284 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005059/0.8936, allocations: 99.88 kB / 1.284 GB, free: 9.523 MB / 0.9825 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.004685/0.8983, allocations: 2.816 MB / 1.287 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.8988, allocations: 159.8 kB / 1.287 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.8988, allocations: 0 / 1.287 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.578e-05/0.8988, allocations: 47.89 kB / 1.287 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.8993, allocations: 57.8 kB / 1.287 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.9004, allocations: 0.603 MB / 1.288 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.9009, allocations: 0.8104 MB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.901, allocations: 42.3 kB / 1.289 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.9011, allocations: 23.44 kB / 1.289 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.9011, allocations: 7.938 kB / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of Templates: time 0.01447/0.9156, allocations: 7.66 MB / 1.296 GB, free: 13.27 MB / 0.9981 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 cvode -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_2/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: 9.634882846847177]