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.001318/0.001318, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009513/0.0009513, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 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 0.9454/0.9454, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.852/1.852, allocations: 377.9 MB / 0.624 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+..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.[0-9,]+..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.812 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.221e-05, allocations: 2.969 kB / 0.812 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002435/0.002457, allocations: 1.65 MB / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.003704, allocations: 0.9161 MB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.003781, allocations: 4 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.004006, allocations: 55.62 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.004442, allocations: 152.7 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.359e-05/0.004475, allocations: 15.92 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.00482, allocations: 375.1 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.004869, allocations: 13.72 kB / 0.8151 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.005181, allocations: 212.5 kB / 0.8153 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.005352, allocations: 119.7 kB / 0.8154 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.005382, allocations: 13.38 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000657/0.006039, allocations: 0.5515 MB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.006123, allocations: 47.77 kB / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.44e-05/0.006218, allocations: 85.47 kB / 0.8161 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.007367, allocations: 0.8774 MB / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.00737, allocations: 0 / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.71e-07/0.007371, allocations: 0 / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.007374, allocations: 0 / 0.8169 GB, free: 12.44 MB / 0.7761 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.001008/0.008382, allocations: 0.6776 MB / 0.8176 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.008423, allocations: 12.03 kB / 0.8176 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.008481, allocations: 36.7 kB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.008779, allocations: 274.2 kB / 0.8179 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.008791, allocations: 384 / 0.8179 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.008804, allocations: 4.375 kB / 0.8179 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.008909, allocations: 84.91 kB / 0.818 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.008916, allocations: 192 / 0.818 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.008925, allocations: 4.375 kB / 0.818 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.008931, allocations: 4.469 kB / 0.818 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.893e-05/0.00896, allocations: 12.64 kB / 0.818 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.009196, allocations: 212.9 kB / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.708e-05/0.009283, allocations: 122 kB / 0.8183 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.009322, allocations: 34.81 kB / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.009338, allocations: 0 / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.009361, allocations: 45.31 kB / 0.8184 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.009362, allocations: 0.5 kB / 0.8184 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001964/0.009559, allocations: 94.7 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.009611, allocations: 141 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.009998, allocations: 487.5 kB / 0.8191 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.01001, allocations: 29.7 kB / 0.8191 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.01015, allocations: 239.1 kB / 0.8193 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.01017, allocations: 16.69 kB / 0.8193 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.01025, allocations: 67.28 kB / 0.8194 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.01042, allocations: 0.5399 MB / 0.8199 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.01045, allocations: 15.98 kB / 0.82 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.01058, allocations: 210.8 kB / 0.8202 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.01071, allocations: 96.94 kB / 0.8202 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01071, allocations: 3.938 kB / 0.8202 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001884/0.0109, allocations: 133.4 kB / 0.8204 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.01091, allocations: 4 kB / 0.8204 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01092, allocations: 0 / 0.8204 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.01093, allocations: 4 kB / 0.8204 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.01103, allocations: 18.77 kB / 0.8204 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.01103, allocations: 0 / 0.8204 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01114, allocations: 15.83 kB / 0.8204 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.01115, allocations: 7.938 kB / 0.8204 GB, free: 8.488 MB / 0.7761 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 9.349e-05/0.01124, allocations: 164.6 kB / 0.8206 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.01128, allocations: 35.77 kB / 0.8206 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.01148, allocations: 121.1 kB / 0.8207 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01148, allocations: 4 kB / 0.8207 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.01148, allocations: 0.5 kB / 0.8207 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.01149, allocations: 9.031 kB / 0.8207 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.01167, allocations: 193.1 kB / 0.8209 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01168, allocations: 4 kB / 0.8209 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.957e-05/0.01174, allocations: 12.72 kB / 0.8209 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01174, allocations: 0 / 0.8209 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.01175, allocations: 5.875 kB / 0.8209 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01175, allocations: 0 / 0.8209 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.01175, allocations: 3.984 kB / 0.821 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.0119, allocations: 167.1 kB / 0.8211 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.01198, allocations: 45.09 kB / 0.8212 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.01201, allocations: 7.984 kB / 0.8212 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.01208, allocations: 4 kB / 0.8212 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.0121, allocations: 4 kB / 0.8212 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.01211, allocations: 5.078 kB / 0.8212 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002069/0.01232, allocations: 298.9 kB / 0.8215 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01232, allocations: 0 / 0.8215 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004729/0.01279, allocations: 104.5 kB / 0.8216 GB, free: 7.258 MB / 0.7761 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.003652/0.01644, allocations: 2.819 MB / 0.8243 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.01663, allocations: 75.84 kB / 0.8244 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01663, allocations: 0 / 0.8244 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.01666, allocations: 31.61 kB / 0.8244 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.01698, allocations: 57.78 kB / 0.8245 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/0.01787, allocations: 0.5163 MB / 0.825 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.31e-05/0.01794, allocations: 115.9 kB / 0.8251 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.147e-05/0.01802, allocations: 21.64 kB / 0.8251 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.01819, allocations: 126.2 kB / 0.8252 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.01819, allocations: 0 / 0.8252 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of Templates: time 0.01078/0.02897, allocations: 8.137 MB / 0.8332 GB, free: 11.37 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.087404728867114]