Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.0009993/0.0009993, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009377/0.0009377, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.056/1.056, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.874/1.874, allocations: 377.8 MB / 0.6236 GB, free: 8.516 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.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8115 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.646e-05, allocations: 9.266 kB / 0.8115 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001502/0.001528, allocations: 0.8279 MB / 0.8124 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001071/0.001635, allocations: 44.97 kB / 0.8124 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.001678, allocations: 0 / 0.8124 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.449e-05/0.001712, allocations: 12.53 kB / 0.8124 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.001788, allocations: 11.86 kB / 0.8124 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.805e-05/0.001826, allocations: 20.84 kB / 0.8124 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.94e-05/0.001916, allocations: 67.69 kB / 0.8125 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.002029, allocations: 28.7 kB / 0.8125 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.332e-05/0.002122, allocations: 45.58 kB / 0.8126 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.713e-05/0.00216, allocations: 15.92 kB / 0.8126 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.00218, allocations: 4 kB / 0.8126 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.002188, allocations: 4 kB / 0.8126 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.002208, allocations: 19.91 kB / 0.8126 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.002235, allocations: 17.47 kB / 0.8126 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.477e-05/0.002319, allocations: 43.77 kB / 0.8127 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.002322, allocations: 0 / 0.8127 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002323, allocations: 0 / 0.8127 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.002327, allocations: 4.938 kB / 0.8127 GB, free: 15.43 MB / 0.7292 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.0003547/0.002681, allocations: 400 kB / 0.8131 GB, free: 15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.002722, allocations: 16.56 kB / 0.8131 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.002768, allocations: 16.84 kB / 0.8131 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.002906, allocations: 142 kB / 0.8132 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.002918, allocations: 384 / 0.8132 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.00293, allocations: 12.38 kB / 0.8132 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.003064, allocations: 88.05 kB / 0.8133 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.003072, allocations: 0.7188 kB / 0.8133 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.003082, allocations: 1.094 kB / 0.8133 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.003089, allocations: 4.375 kB / 0.8133 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.003134, allocations: 36.38 kB / 0.8134 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.003609, allocations: 0.7469 MB / 0.8141 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.156e-05/0.003691, allocations: 265.4 kB / 0.8143 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.003724, allocations: 130.9 kB / 0.8145 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.003752, allocations: 119.2 kB / 0.8146 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.003795, allocations: 157.2 kB / 0.8147 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.003796, allocations: 0.6875 kB / 0.8147 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 5.382e-05/0.00385, allocations: 33.73 kB / 0.8148 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.003902, allocations: 175.2 kB / 0.8149 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.004013, allocations: 205.8 kB / 0.8151 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.004021, allocations: 26.7 kB / 0.8152 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.004085, allocations: 166.6 kB / 0.8153 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/0.004089, allocations: 5.375 kB / 0.8153 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.00412, allocations: 31.33 kB / 0.8153 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.004229, allocations: 0.4884 MB / 0.8158 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.004242, allocations: 4 kB / 0.8158 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.261e-05/0.004285, allocations: 83.22 kB / 0.8159 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.004351, allocations: 91.59 kB / 0.816 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004353, allocations: 0 / 0.816 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001199/0.004473, allocations: 92.41 kB / 0.8161 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.004486, allocations: 4 kB / 0.8161 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.004491, allocations: 4 kB / 0.8161 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.004504, allocations: 0 / 0.8161 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.004567, allocations: 12 kB / 0.8161 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.004574, allocations: 17.22 kB / 0.8161 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.004597, allocations: 7.938 kB / 0.8161 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.004603, allocations: 4 kB / 0.8161 GB, free: 11.6 MB / 0.7292 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.517e-05/0.004688, allocations: 284.4 kB / 0.8164 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.004739, allocations: 156.8 kB / 0.8166 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.004786, allocations: 149.2 kB / 0.8167 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.213e-05/0.004849, allocations: 268.6 kB / 0.817 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.58e-05/0.004914, allocations: 279.9 kB / 0.8172 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.64e-05/0.004981, allocations: 272.8 kB / 0.8175 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.005175, allocations: 0.5089 MB / 0.818 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.714e-05/0.005212, allocations: 152.9 kB / 0.8181 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.005247, allocations: 144.9 kB / 0.8183 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-05/0.00531, allocations: 268 kB / 0.8185 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.005378, allocations: 274.6 kB / 0.8188 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.328e-05/0.005451, allocations: 268 kB / 0.819 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.198e-05/0.005523, allocations: 268.1 kB / 0.8193 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.005656, allocations: 451.9 kB / 0.8197 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.005703, allocations: 156.8 kB / 0.8199 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.005889, allocations: 272 kB / 0.8201 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.524e-05/0.005955, allocations: 149.7 kB / 0.8203 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.006009, allocations: 268.3 kB / 0.8205 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.006072, allocations: 148.8 kB / 0.8207 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.174e-05/0.006124, allocations: 150.3 kB / 0.8208 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006124, allocations: 0 / 0.8208 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001583/0.006282, allocations: 21.11 kB / 0.8208 GB, free: 6.598 MB / 0.7292 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.791e-05/0.00638, allocations: 210.4 kB / 0.821 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.925e-05/0.00647, allocations: 37.2 kB / 0.8211 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006471, allocations: 3.906 kB / 0.8211 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.006473, allocations: 7.938 kB / 0.8211 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.006807, allocations: 0.7062 MB / 0.8218 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.007048, allocations: 265.6 kB / 0.822 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.007081, allocations: 63.28 kB / 0.8221 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.007111, allocations: 8.719 kB / 0.8221 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.007129, allocations: 9.781 kB / 0.8221 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.007129, allocations: 0 / 0.8221 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of Templates: time 0.001911/0.00904, allocations: 317.2 kB / 0.8224 GB, free: 4.941 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.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.042716972064227]