Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.001466/0.001466, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.001753/0.001753, allocations: 165 kB / 23.82 MB, free: 0.7383 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.9691/0.9691, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.922/1.922, allocations: 377.8 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] 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.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8115 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.55e-05, allocations: 9.828 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001427/0.001452, allocations: 0.8279 MB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001256/0.001578, allocations: 44.53 kB / 0.8124 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.326e-05/0.001621, allocations: 0 / 0.8124 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.001656, allocations: 9.156 kB / 0.8124 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.001731, allocations: 19.84 kB / 0.8124 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.692e-05/0.001778, allocations: 15.98 kB / 0.8124 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.517e-05/0.001863, allocations: 63.78 kB / 0.8125 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.001975, allocations: 29.38 kB / 0.8125 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.834e-05/0.002074, allocations: 39.89 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.002115, allocations: 19.92 kB / 0.8126 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.002136, allocations: 4.688 kB / 0.8126 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-06/0.002142, allocations: 4 kB / 0.8126 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.00216, allocations: 16.83 kB / 0.8126 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.002188, allocations: 15.92 kB / 0.8126 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.937e-05/0.002277, allocations: 44.44 kB / 0.8127 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.00228, allocations: 0 / 0.8127 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.81e-07/0.00228, allocations: 0.5938 kB / 0.8127 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.002285, allocations: 0 / 0.8127 GB, free: 0.5508 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003283/0.002613, allocations: 413.5 kB / 0.8131 GB, free: 112 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.002649, allocations: 8.031 kB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.002685, allocations: 16.89 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.002827, allocations: 138.7 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.002836, allocations: 4.375 kB / 0.8132 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.002848, allocations: 12.31 kB / 0.8132 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.002966, allocations: 92.17 kB / 0.8133 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.002973, allocations: 192 / 0.8133 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.002982, allocations: 384 / 0.8133 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.002989, allocations: 5.125 kB / 0.8133 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.454e-05/0.003034, allocations: 35.78 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.003474, allocations: 0.7507 MB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.834e-05/0.003552, allocations: 265.4 kB / 0.8144 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.003583, allocations: 130.9 kB / 0.8145 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.003609, allocations: 120.3 kB / 0.8146 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.003647, allocations: 152.6 kB / 0.8147 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.003648, allocations: 0.625 kB / 0.8147 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.613e-05/0.003704, allocations: 37.69 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.003757, allocations: 179.1 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.004041, allocations: 196.8 kB / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.00405, allocations: 25.7 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.004122, allocations: 179.3 kB / 0.8153 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.004125, allocations: 0 / 0.8153 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.004163, allocations: 36.2 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.004264, allocations: 492.1 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.004277, allocations: 8.531 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.004315, allocations: 73.48 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.615e-05/0.004382, allocations: 92.69 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.004384, allocations: 4 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000116/0.0045, allocations: 92.08 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.004512, allocations: 8 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.004517, allocations: 0 / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.004529, allocations: 4.875 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.004588, allocations: 15.94 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.004597, allocations: 15.39 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.004627, allocations: 3.953 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.004633, allocations: 4.156 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (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 prepare postOptimizeDAE: time 8.161e-05/0.004715, allocations: 283.7 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.004761, allocations: 152.8 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.004801, allocations: 156.6 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.537e-05/0.004856, allocations: 272.1 kB / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.725e-05/0.004913, allocations: 276 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-05/0.004968, allocations: 268.1 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.005139, allocations: 0.5081 MB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.00517, allocations: 146.7 kB / 0.8181 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.005201, allocations: 148.8 kB / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.456e-05/0.005256, allocations: 272.1 kB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.02e-05/0.005316, allocations: 268.1 kB / 0.8188 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.818e-05/0.005374, allocations: 276 kB / 0.819 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-05/0.005432, allocations: 269.2 kB / 0.8193 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.005561, allocations: 455.9 kB / 0.8197 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.005609, allocations: 160.8 kB / 0.8199 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.005679, allocations: 269.5 kB / 0.8201 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/0.00573, allocations: 144.9 kB / 0.8203 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.005792, allocations: 272.3 kB / 0.8205 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.005829, allocations: 148.8 kB / 0.8207 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.005881, allocations: 147.7 kB / 0.8208 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005881, allocations: 0.9062 kB / 0.8208 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001542/0.006035, allocations: 11.95 kB / 0.8208 GB, free: 7.719 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 9.932e-05/0.006135, allocations: 215.3 kB / 0.821 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.665e-05/0.006221, allocations: 36.98 kB / 0.8211 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.006223, allocations: 4.438 kB / 0.8211 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.006224, allocations: 0 / 0.8211 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.006509, allocations: 0.7068 MB / 0.8218 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.006789, allocations: 271.4 kB / 0.822 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.756e-05/0.006826, allocations: 64.45 kB / 0.8221 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.607e-05/0.006862, allocations: 9.656 kB / 0.8221 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.006884, allocations: 12.5 kB / 0.8221 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of SimCode: time 1.163e-06/0.006885, allocations: 1.031 kB / 0.8221 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of Templates: time 0.001941/0.008826, allocations: 308.6 kB / 0.8224 GB, free: 6.059 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.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.225836968049407]