Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001336/0.001336, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001485/0.001485, allocations: 213.7 kB / 23 MB, free: 4.965 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.254/3.254, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00205/0.00205, allocations: 70.34 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.384, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002936/0.3869, allocations: 1.568 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.3884, allocations: 0.8685 MB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.3885, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.3887, allocations: 59.67 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.3892, allocations: 135.3 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.879e-05/0.3892, allocations: 15.97 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.3897, allocations: 362.2 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.503e-05/0.3898, allocations: 16.94 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.39, allocations: 159.4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.3902, allocations: 147.3 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.3903, allocations: 16 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006401/0.3909, allocations: 488.8 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.391, allocations: 47.77 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.3911, allocations: 111.4 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.3926, allocations: 0.838 MB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3926, allocations: 8 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3926, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3926, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 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.001491/0.3941, allocations: 0.5821 MB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3942, allocations: 8.031 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.987e-05/0.3942, allocations: 40.73 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.3948, allocations: 320.8 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.3948, allocations: 384 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.3948, allocations: 8.312 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.395, allocations: 113.3 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.395, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.395, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.395, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.3951, allocations: 67.88 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.3955, allocations: 267.8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.3957, allocations: 102.4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.946e-05/0.3958, allocations: 59.45 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3958, allocations: 0 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3958, allocations: 42.5 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3958, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004001/0.3962, allocations: 185.2 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.075e-05/0.3963, allocations: 137 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.397, allocations: 0.5053 MB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.397, allocations: 29.7 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.3972, allocations: 164.4 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.3972, allocations: 7.938 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.3973, allocations: 49.66 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3975, allocations: 346.8 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3976, allocations: 99.92 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.3979, allocations: 261.6 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.3982, allocations: 239.2 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3982, allocations: 4 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004276/0.3986, allocations: 309.1 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3986, allocations: 12 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3986, allocations: 0 / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3987, allocations: 7.875 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.3988, allocations: 15.98 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3988, allocations: 4 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.399, allocations: 23.83 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.399, allocations: 8 kB / 1.336 GB, free: 7.906 MB / 1.029 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.000186/0.3992, allocations: 186.2 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.3993, allocations: 27.81 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.3996, allocations: 187.6 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.3996, allocations: 7.922 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3996, allocations: 0 / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3997, allocations: 52.03 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.3998, allocations: 7.953 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.4, allocations: 11.97 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.4, allocations: 7.984 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003362/0.4003, allocations: 434.8 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003875/0.4007, allocations: 0.5433 MB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.855e-05/0.4008, allocations: 47.95 kB / 1.337 GB, free: 6.363 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004516/0.4012, allocations: 379 kB / 1.337 GB, free: 6 MB / 1.029 GB Notification: Performance of Backend: time 5.21e-07/0.4012, allocations: 3.938 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005665/0.4069, allocations: 2.908 MB / 1.34 GB, free: 3.078 MB / 1.029 GB Notification: Performance of SimCode: time 0.001275/0.4082, allocations: 1.035 MB / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of Templates: time 0.01362/0.4218, allocations: 8.051 MB / 1.349 GB, free: 9.992 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.369591187001788]