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.001641/0.001641, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001486/0.001486, allocations: 169 kB / 24.28 MB, free: 276 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.9513/0.9513, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.845/1.845, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.553e-06/1.553e-06, allocations: 0 / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.126e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002039/0.00206, allocations: 1.641 MB / 0.8131 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.003193, allocations: 0.9271 MB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.003276, allocations: 0 / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.003518, allocations: 60.89 kB / 0.8141 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.003916, allocations: 147.6 kB / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.65e-05/0.003942, allocations: 14.08 kB / 0.8142 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.004237, allocations: 374.1 kB / 0.8146 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.004287, allocations: 16.92 kB / 0.8146 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.004542, allocations: 203.9 kB / 0.8148 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.004681, allocations: 124.4 kB / 0.8149 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.004705, allocations: 16.5 kB / 0.8149 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.005097, allocations: 442.4 kB / 0.8153 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.005169, allocations: 55.7 kB / 0.8154 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.75e-05/0.005257, allocations: 83.77 kB / 0.8155 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007898/0.006046, allocations: 0.8735 MB / 0.8163 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006049, allocations: 0.625 kB / 0.8163 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.22e-07/0.00605, allocations: 0 / 0.8163 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.006055, allocations: 4.969 kB / 0.8163 GB, free: 13.15 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.000891/0.006946, allocations: 0.7002 MB / 0.817 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.00698, allocations: 8.031 kB / 0.817 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.007047, allocations: 40.64 kB / 0.8171 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.007364, allocations: 293.3 kB / 0.8173 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.007376, allocations: 4.375 kB / 0.8173 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.00739, allocations: 8.375 kB / 0.8173 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.007508, allocations: 82.22 kB / 0.8174 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.007514, allocations: 192 / 0.8174 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.007524, allocations: 384 / 0.8174 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.007532, allocations: 7.875 kB / 0.8174 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.007566, allocations: 12.95 kB / 0.8174 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.008058, allocations: 298 kB / 0.8177 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.78e-05/0.008136, allocations: 100.4 kB / 0.8178 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.008177, allocations: 46.73 kB / 0.8179 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.00819, allocations: 0 / 0.8179 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.008213, allocations: 41.33 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.008214, allocations: 3.438 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002027/0.008417, allocations: 97.38 kB / 0.818 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.008463, allocations: 136.4 kB / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.00882, allocations: 0.4948 MB / 0.8186 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.008835, allocations: 29.7 kB / 0.8186 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.008942, allocations: 227.2 kB / 0.8189 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.008962, allocations: 15.84 kB / 0.8189 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.009018, allocations: 68.2 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.009146, allocations: 0.5352 MB / 0.8195 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.009194, allocations: 20.48 kB / 0.8195 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.009305, allocations: 219 kB / 0.8197 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.009427, allocations: 102.7 kB / 0.8198 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009429, allocations: 0.5625 kB / 0.8198 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001748/0.009604, allocations: 146.5 kB / 0.8199 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.009617, allocations: 4 kB / 0.8199 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.009624, allocations: 4 kB / 0.8199 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.009636, allocations: 0.75 kB / 0.8199 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.009723, allocations: 15.98 kB / 0.82 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.00973, allocations: 8.75 kB / 0.82 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-05/0.009817, allocations: 19.88 kB / 0.82 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.009829, allocations: 12.92 kB / 0.82 GB, free: 9.027 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.675e-05/0.009905, allocations: 160.5 kB / 0.8201 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.009937, allocations: 36.39 kB / 0.8202 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.01011, allocations: 125.8 kB / 0.8203 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01012, allocations: 0 / 0.8203 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01012, allocations: 3.938 kB / 0.8203 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01012, allocations: 7.969 kB / 0.8203 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.0103, allocations: 268.5 kB / 0.8206 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.0103, allocations: 4 kB / 0.8206 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.01036, allocations: 15.94 kB / 0.8206 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01036, allocations: 0 / 0.8206 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.01037, allocations: 7.984 kB / 0.8206 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.01037, allocations: 4 kB / 0.8206 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.01038, allocations: 3.984 kB / 0.8206 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.01051, allocations: 163.1 kB / 0.8208 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.01058, allocations: 55.73 kB / 0.8208 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.01061, allocations: 0.9062 kB / 0.8208 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.01068, allocations: 11.98 kB / 0.8208 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.0107, allocations: 12.95 kB / 0.8208 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.0107, allocations: 4 kB / 0.8208 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002121/0.01091, allocations: 323 kB / 0.8211 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01091, allocations: 1.125 kB / 0.8212 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003068/0.01122, allocations: 103.8 kB / 0.8212 GB, free: 7.664 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.00275/0.01397, allocations: 2.817 MB / 0.824 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.01415, allocations: 79.58 kB / 0.8241 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01415, allocations: 0 / 0.8241 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.158e-05/0.01418, allocations: 31.62 kB / 0.8241 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.01443, allocations: 49.88 kB / 0.8242 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.01552, allocations: 0.52 MB / 0.8247 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.959e-05/0.01558, allocations: 124.3 kB / 0.8248 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.443e-05/0.01566, allocations: 38.28 kB / 0.8248 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.01571, allocations: 20.5 kB / 0.8248 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of SimCode: time 9.72e-07/0.01571, allocations: 4 kB / 0.8248 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of Templates: time 0.008924/0.02463, allocations: 7.967 MB / 0.8326 GB, free: 12.04 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.136909574037418]