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.001714/0.001714, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002299/0.002299, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 8.039 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.206/3.206, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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.002375/0.002375, allocations: 72 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3471, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003084/0.3502, allocations: 1.622 MB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.3519, allocations: 0.9657 MB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.352, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.3523, allocations: 63.66 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005449/0.3528, allocations: 143.2 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 6.346e-05/0.3529, allocations: 15.92 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.3534, allocations: 358.3 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.698e-05/0.3534, allocations: 16.92 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/0.3538, allocations: 163.3 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.354, allocations: 135.4 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.3541, allocations: 19.94 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007832/0.3549, allocations: 0.5437 MB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.355, allocations: 55.69 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.3551, allocations: 135.2 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.3565, allocations: 0.8497 MB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3565, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3565, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3565, allocations: 0 / 1.331 GB, free: 12.36 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.001436/0.358, allocations: 0.5976 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.358, allocations: 8.031 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.3581, allocations: 36.75 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.3586, allocations: 324.7 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3586, allocations: 4.375 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.3586, allocations: 4.375 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3588, allocations: 105.4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.3588, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3588, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3588, allocations: 4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.3589, allocations: 71.86 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.3593, allocations: 311.2 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3594, allocations: 106.3 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.3595, allocations: 63.45 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3596, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3596, allocations: 42.5 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3596, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003512/0.3599, allocations: 189.2 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.36, allocations: 132.5 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.3607, allocations: 0.5058 MB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.3607, allocations: 33.7 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.3608, allocations: 156.4 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.3608, allocations: 11.91 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.466e-05/0.3609, allocations: 45.69 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3611, allocations: 346.8 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3612, allocations: 99.92 kB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.3614, allocations: 170.7 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.3618, allocations: 235.2 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3618, allocations: 7.938 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004304/0.3622, allocations: 301.3 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3622, allocations: 7.938 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3622, allocations: 0 / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3622, allocations: 4.234 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3624, allocations: 23.92 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3624, allocations: 0 / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.3625, allocations: 27.83 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.3626, allocations: 7.984 kB / 1.335 GB, free: 8.133 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.0001754/0.3627, allocations: 182.2 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.3628, allocations: 39.73 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.3631, allocations: 183.7 kB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3631, allocations: 0 / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3631, allocations: 4 kB / 1.335 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3631, allocations: 0 / 1.335 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.3634, allocations: 256.6 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3634, allocations: 0 / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.362e-05/0.3635, allocations: 23.92 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3635, allocations: 7.938 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3635, allocations: 0 / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3635, allocations: 0 / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3635, allocations: 4 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.3638, allocations: 187.5 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.3639, allocations: 67.61 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.364, allocations: 11.98 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3641, allocations: 7.984 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.3641, allocations: 15.94 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.3641, allocations: 4 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004585/0.3646, allocations: 375 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3646, allocations: 7.938 kB / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004648/0.3651, allocations: 103.9 kB / 1.337 GB, free: 6.598 MB / 1.029 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.004621/0.3697, allocations: 2.803 MB / 1.339 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.37, allocations: 171.8 kB / 1.339 GB, free: 3.613 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.37, allocations: 0 / 1.339 GB, free: 3.613 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.227e-05/0.3701, allocations: 43.91 kB / 1.339 GB, free: 3.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3705, allocations: 59.39 kB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000967/0.3714, allocations: 0.5999 MB / 1.34 GB, free: 2.875 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3719, allocations: 0.8182 MB / 1.341 GB, free: 2.031 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.372, allocations: 42.3 kB / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.3721, allocations: 23.42 kB / 1.341 GB, free: 1.965 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3721, allocations: 4 kB / 1.341 GB, free: 1.961 MB / 1.029 GB Notification: Performance of Templates: time 0.01314/0.3852, allocations: 7.719 MB / 1.348 GB, free: 10.27 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/jenkins/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.174506888724864]