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.001417/0.001417, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001557/0.001557, allocations: 164.7 kB / 24.87 MB, free: 8.891 MB / 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.9173/0.9173, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.826/1.826, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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.192e-06/1.192e-06, allocations: 0 / 0.8127 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/1.997e-05, allocations: 7.234 kB / 0.8127 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001976/0.001996, allocations: 1.644 MB / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.003232, allocations: 0.9186 MB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.003303, allocations: 7.938 kB / 0.8152 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.003506, allocations: 60.77 kB / 0.8153 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.00387, allocations: 147.8 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.518e-05/0.003895, allocations: 13 kB / 0.8155 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.004181, allocations: 371 kB / 0.8158 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.004228, allocations: 20.91 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.004467, allocations: 208.7 kB / 0.816 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.004607, allocations: 119.7 kB / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.004633, allocations: 13.53 kB / 0.8162 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005566/0.00519, allocations: 0.5515 MB / 0.8167 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.005248, allocations: 51.7 kB / 0.8167 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.343e-05/0.005322, allocations: 81.22 kB / 0.8168 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008108/0.006132, allocations: 0.8696 MB / 0.8177 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006135, allocations: 0 / 0.8177 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.61e-07/0.006136, allocations: 0 / 0.8177 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.00614, allocations: 0.75 kB / 0.8177 GB, free: 12.42 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.0008332/0.006973, allocations: 0.6839 MB / 0.8183 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.007004, allocations: 13.91 kB / 0.8184 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.007053, allocations: 32.7 kB / 0.8184 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.007303, allocations: 279.5 kB / 0.8186 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.007312, allocations: 1.844 kB / 0.8187 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.007322, allocations: 4.375 kB / 0.8187 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.605e-05/0.007409, allocations: 76.98 kB / 0.8187 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.007416, allocations: 192 / 0.8187 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.007423, allocations: 4.922 kB / 0.8187 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.00743, allocations: 7.938 kB / 0.8187 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.007453, allocations: 9.344 kB / 0.8188 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.007649, allocations: 220.3 kB / 0.819 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.314e-05/0.007723, allocations: 112.8 kB / 0.8191 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.007756, allocations: 39.42 kB / 0.8191 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.007767, allocations: 1.969 kB / 0.8191 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.007789, allocations: 41.39 kB / 0.8191 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.00779, allocations: 3.938 kB / 0.8192 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001645/0.007955, allocations: 93.89 kB / 0.8192 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.008002, allocations: 137.2 kB / 0.8194 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.008297, allocations: 498.4 kB / 0.8198 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.008311, allocations: 26.98 kB / 0.8199 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.008418, allocations: 235.1 kB / 0.8201 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.008438, allocations: 11.84 kB / 0.8201 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.008499, allocations: 67.91 kB / 0.8202 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.00864, allocations: 0.5391 MB / 0.8207 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/0.008672, allocations: 17.11 kB / 0.8207 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.008766, allocations: 204.3 kB / 0.8209 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.008866, allocations: 102.6 kB / 0.821 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008868, allocations: 0.8125 kB / 0.821 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001471/0.009015, allocations: 133.4 kB / 0.8211 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.009027, allocations: 11.59 kB / 0.8211 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.009033, allocations: 0 / 0.8211 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.009043, allocations: 5.328 kB / 0.8212 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.147e-05/0.009114, allocations: 12 kB / 0.8212 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.009118, allocations: 4 kB / 0.8212 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.0092, allocations: 19.81 kB / 0.8212 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.009209, allocations: 4.938 kB / 0.8212 GB, free: 8.461 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 7.872e-05/0.009288, allocations: 160.6 kB / 0.8213 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.009564, allocations: 38.02 kB / 0.8214 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.009726, allocations: 119.7 kB / 0.8215 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.009729, allocations: 4 kB / 0.8215 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.009731, allocations: 3.438 kB / 0.8215 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.009735, allocations: 3.938 kB / 0.8215 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.009885, allocations: 201.1 kB / 0.8217 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.009886, allocations: 0 / 0.8217 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.009935, allocations: 19.92 kB / 0.8217 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.009937, allocations: 0 / 0.8217 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.009944, allocations: 4 kB / 0.8217 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.009946, allocations: 0 / 0.8217 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009947, allocations: 0 / 0.8217 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.01007, allocations: 159.8 kB / 0.8219 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.01013, allocations: 43.73 kB / 0.8219 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.01016, allocations: 12.44 kB / 0.8219 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.01022, allocations: 0.5625 kB / 0.8219 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.01023, allocations: 7.984 kB / 0.8219 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.01023, allocations: 4.562 kB / 0.8219 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001561/0.01039, allocations: 300.3 kB / 0.8222 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01039, allocations: 0 / 0.8222 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003456/0.01074, allocations: 107.9 kB / 0.8223 GB, free: 7.23 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.002638/0.01337, allocations: 2.812 MB / 0.8251 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.01353, allocations: 75.56 kB / 0.8251 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01353, allocations: 0 / 0.8251 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.01356, allocations: 27.61 kB / 0.8252 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.0138, allocations: 64.17 kB / 0.8252 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007548/0.01456, allocations: 0.5135 MB / 0.8257 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/0.01462, allocations: 119.9 kB / 0.8258 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.39e-05/0.01468, allocations: 25.98 kB / 0.8259 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.01482, allocations: 126.2 kB / 0.826 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of SimCode: time 7.92e-07/0.01482, allocations: 4 kB / 0.826 GB, free: 3.406 MB / 0.7761 GB Notification: Performance of Templates: time 0.009059/0.02388, allocations: 8.194 MB / 0.834 GB, free: 11.29 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.261010571848601]