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.001892/0.001892, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002286/0.002286, allocations: 159.7 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.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 2.779/2.779, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] 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.00241/0.00241, allocations: 59.91 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8658, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002284/0.8681, allocations: 1.571 MB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.8692, allocations: 0.8685 MB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.8693, allocations: 3 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.8695, allocations: 58.45 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.8699, allocations: 144 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.24e-05/0.87, allocations: 10.75 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.8703, allocations: 361.4 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.8703, allocations: 16.72 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.8705, allocations: 155.1 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.8707, allocations: 148.7 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.8707, allocations: 13.41 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.8712, allocations: 488.4 kB / 1.158 GB, free: 31.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.8713, allocations: 56.66 kB / 1.158 GB, free: 31.15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.8714, allocations: 111.3 kB / 1.158 GB, free: 31.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.8727, allocations: 0.8289 MB / 1.159 GB, free: 30.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.8727, allocations: 0 / 1.159 GB, free: 30.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8727, allocations: 0 / 1.159 GB, free: 30.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.8727, allocations: 2.5 kB / 1.159 GB, free: 30.95 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.001228/0.8739, allocations: 0.5885 MB / 1.159 GB, free: 30.51 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.8739, allocations: 8.938 kB / 1.159 GB, free: 30.51 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.97e-05/0.874, allocations: 30.72 kB / 1.159 GB, free: 30.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.8744, allocations: 331 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.8744, allocations: 7.438 kB / 1.16 GB, free: 30.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.8744, allocations: 7.266 kB / 1.16 GB, free: 30.26 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.8746, allocations: 106.5 kB / 1.16 GB, free: 30.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.8746, allocations: 0 / 1.16 GB, free: 30.18 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.8746, allocations: 0 / 1.16 GB, free: 30.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.8746, allocations: 0 / 1.16 GB, free: 30.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.674e-05/0.8747, allocations: 68.44 kB / 1.16 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.875, allocations: 261 kB / 1.16 GB, free: 29.97 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.809e-05/0.875, allocations: 110.3 kB / 1.16 GB, free: 29.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.532e-05/0.8751, allocations: 69.86 kB / 1.16 GB, free: 29.81 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.8751, allocations: 2.531 kB / 1.16 GB, free: 29.81 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.8752, allocations: 37.59 kB / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.073e-06/0.8752, allocations: 0 / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.000314/0.8755, allocations: 187.3 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.8755, allocations: 131.4 kB / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.876, allocations: 0.5023 MB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.876, allocations: 29.08 kB / 1.161 GB, free: 29.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.8761, allocations: 153.6 kB / 1.161 GB, free: 29.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.8761, allocations: 21.94 kB / 1.161 GB, free: 29.12 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.8762, allocations: 56.47 kB / 1.161 GB, free: 29.08 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.8762, allocations: 338.4 kB / 1.162 GB, free: 28.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.8763, allocations: 102.5 kB / 1.162 GB, free: 28.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.8765, allocations: 267.1 kB / 1.162 GB, free: 28.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.8767, allocations: 248.2 kB / 1.162 GB, free: 28.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8767, allocations: 2.812 kB / 1.162 GB, free: 28.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003564/0.8771, allocations: 298.7 kB / 1.162 GB, free: 28.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8771, allocations: 5.656 kB / 1.162 GB, free: 28.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.8771, allocations: 3.938 kB / 1.162 GB, free: 28.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8771, allocations: 7.062 kB / 1.162 GB, free: 28.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.8773, allocations: 15.59 kB / 1.162 GB, free: 28.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.8773, allocations: 3.938 kB / 1.162 GB, free: 28.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.8774, allocations: 27.61 kB / 1.162 GB, free: 28.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.8775, allocations: 2.719 kB / 1.162 GB, free: 28.26 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.0001231/0.8776, allocations: 182.5 kB / 1.163 GB, free: 28.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.8776, allocations: 29.38 kB / 1.163 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.8779, allocations: 180.9 kB / 1.163 GB, free: 28.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.8779, allocations: 4.125 kB / 1.163 GB, free: 28.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8779, allocations: 2.312 kB / 1.163 GB, free: 28.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8779, allocations: 3.469 kB / 1.163 GB, free: 28.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.8781, allocations: 219.9 kB / 1.163 GB, free: 27.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8781, allocations: 240 / 1.163 GB, free: 27.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.8782, allocations: 15.84 kB / 1.163 GB, free: 27.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8782, allocations: 0 / 1.163 GB, free: 27.86 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.8782, allocations: 2.875 kB / 1.163 GB, free: 27.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8782, allocations: 6.438 kB / 1.163 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.8782, allocations: 7.922 kB / 1.163 GB, free: 27.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.8784, allocations: 195.8 kB / 1.163 GB, free: 27.71 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.8785, allocations: 59.75 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.8785, allocations: 2.719 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.8787, allocations: 16.17 kB / 1.163 GB, free: 27.67 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.8787, allocations: 6.125 kB / 1.163 GB, free: 27.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.8787, allocations: 2.438 kB / 1.163 GB, free: 27.67 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003318/0.879, allocations: 380.9 kB / 1.164 GB, free: 27.51 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.879, allocations: 3.938 kB / 1.164 GB, free: 27.51 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004759/0.8795, allocations: 106.4 kB / 1.164 GB, free: 27.5 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.003752/0.8832, allocations: 2.813 MB / 1.167 GB, free: 27.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.8835, allocations: 163.8 kB / 1.167 GB, free: 27.05 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8835, allocations: 0 / 1.167 GB, free: 27.05 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.8836, allocations: 52.48 kB / 1.167 GB, free: 27.03 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.8839, allocations: 52.33 kB / 1.167 GB, free: 27.01 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007922/0.8847, allocations: 0.5962 MB / 1.167 GB, free: 26.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.8849, allocations: 217.8 kB / 1.168 GB, free: 26.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.885, allocations: 42.73 kB / 1.168 GB, free: 26.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.885, allocations: 28.14 kB / 1.168 GB, free: 26.56 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.885, allocations: 0 / 1.168 GB, free: 26.56 MB / 1.076 GB Notification: Performance of Templates: time 0.01518/0.9002, allocations: 7.909 MB / 1.175 GB, free: 25.89 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.901133841951378]