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.001763/0.001763, allocations: 113 kB / 17.6 MB, free: 4.684 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.002141/0.002141, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.48/1.48, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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.885/2.885, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] 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.001983/0.001983, allocations: 63.91 kB / 1.107 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.925/0.927, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002711/0.9297, allocations: 1.614 MB / 1.274 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.931, allocations: 0.9238 MB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.49e-05/0.9311, allocations: 1.125 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.9313, allocations: 59.05 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004348/0.9318, allocations: 140 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.294e-05/0.9318, allocations: 12.86 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.9322, allocations: 368.4 kB / 1.275 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.9322, allocations: 12.44 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.9324, allocations: 139.7 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.9326, allocations: 145.9 kB / 1.275 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.9327, allocations: 15.88 kB / 1.275 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.9334, allocations: 0.5278 MB / 1.276 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.9335, allocations: 55.31 kB / 1.276 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.9336, allocations: 130.8 kB / 1.276 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.935, allocations: 0.8577 MB / 1.277 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.935, allocations: 0 / 1.277 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.935, allocations: 1.094 kB / 1.277 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.935, allocations: 0 / 1.277 GB, free: 5.332 MB / 0.9981 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.001577/0.9366, allocations: 0.6572 MB / 1.277 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.9366, allocations: 9.094 kB / 1.277 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.781e-05/0.9367, allocations: 35.48 kB / 1.277 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.9372, allocations: 379.8 kB / 1.278 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.9372, allocations: 6.125 kB / 1.278 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.9372, allocations: 5.156 kB / 1.278 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.9374, allocations: 108.5 kB / 1.278 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.9374, allocations: 0.875 kB / 1.278 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.9374, allocations: 0.9062 kB / 1.278 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.9374, allocations: 0.9688 kB / 1.278 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.9375, allocations: 66.08 kB / 1.278 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.9378, allocations: 337.5 kB / 1.278 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.9379, allocations: 109.6 kB / 1.278 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.938, allocations: 62.14 kB / 1.279 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.938, allocations: 4.922 kB / 1.279 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.9381, allocations: 50.55 kB / 1.279 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.9381, allocations: 0 / 1.279 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003525/0.9384, allocations: 181.7 kB / 1.279 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.9384, allocations: 134.7 kB / 1.279 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000664/0.9391, allocations: 0.5026 MB / 1.279 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.9391, allocations: 31.45 kB / 1.279 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.9392, allocations: 160.7 kB / 1.28 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.9392, allocations: 11.22 kB / 1.28 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.9393, allocations: 52.27 kB / 1.28 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.9394, allocations: 342 kB / 1.28 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.9395, allocations: 96.83 kB / 1.28 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.9397, allocations: 163 kB / 1.28 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.94, allocations: 236.7 kB / 1.28 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.94, allocations: 0.6562 kB / 1.28 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003796/0.9404, allocations: 294.3 kB / 1.281 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.9404, allocations: 12.53 kB / 1.281 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9404, allocations: 0.5625 kB / 1.281 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.9404, allocations: 3.469 kB / 1.281 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.9406, allocations: 19.89 kB / 1.281 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.9406, allocations: 2.844 kB / 1.281 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.9408, allocations: 18.94 kB / 1.281 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.9408, allocations: 9.938 kB / 1.281 GB, free: 2.535 MB / 0.9981 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.0001365/0.9409, allocations: 186.6 kB / 1.281 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.941, allocations: 38.33 kB / 1.281 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.9413, allocations: 178.6 kB / 1.281 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.9413, allocations: 5.562 kB / 1.281 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9413, allocations: 1.438 kB / 1.281 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.9413, allocations: 7.609 kB / 1.281 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.9415, allocations: 289.8 kB / 1.281 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9415, allocations: 5.906 kB / 1.281 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.9416, allocations: 20.28 kB / 1.281 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9416, allocations: 3.938 kB / 1.281 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.9416, allocations: 2.188 kB / 1.281 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.9416, allocations: 1.75 kB / 1.281 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.9416, allocations: 8.984 kB / 1.281 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.9418, allocations: 189.2 kB / 1.282 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.942, allocations: 137.8 kB / 1.282 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.942, allocations: 13.27 kB / 1.282 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.9422, allocations: 11.3 kB / 1.282 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.9422, allocations: 5.344 kB / 1.282 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.9422, allocations: 5.844 kB / 1.282 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004098/0.9426, allocations: 376.1 kB / 1.282 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9426, allocations: 0 / 1.282 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009525/0.9436, allocations: 102.2 kB / 1.282 GB, free: 1.59 MB / 0.9981 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.005939/0.9495, allocations: 2.812 MB / 1.285 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000538/0.95, allocations: 165.4 kB / 1.285 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.9501, allocations: 0 / 1.285 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.9501, allocations: 46.44 kB / 1.285 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006047/0.9508, allocations: 63.36 kB / 1.285 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.9518, allocations: 0.5984 MB / 1.286 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.9521, allocations: 0.8131 MB / 1.287 GB, free: 52 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001592/0.9522, allocations: 45.38 kB / 1.287 GB, free: 40 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.9523, allocations: 26.91 kB / 1.287 GB, free: 28 kB / 0.9981 GB Notification: Performance of SimCode: time 8.21e-07/0.9523, allocations: 0 / 1.287 GB, free: 28 kB / 0.9981 GB Notification: Performance of Templates: time 0.01603/0.9683, allocations: 7.654 MB / 1.294 GB, free: 15.53 MB / 1.014 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.206615936942399]