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.001327/0.001327, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001648/0.001648, allocations: 166.8 kB / 24.86 MB, free: 9.25 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.108/1.108, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.939/1.939, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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.453e-06/1.453e-06, allocations: 0 / 0.8128 GB, free: 272 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.785e-05, allocations: 2.312 kB / 0.8128 GB, free: 268 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001609/0.001637, allocations: 0.8163 MB / 0.8136 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001169/0.001754, allocations: 49.09 kB / 0.8136 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.001809, allocations: 0 / 0.8136 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.507e-05/0.001844, allocations: 8.5 kB / 0.8136 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.924e-05/0.001923, allocations: 11.81 kB / 0.8136 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 4.11e-05/0.001964, allocations: 21.38 kB / 0.8137 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.495e-05/0.002059, allocations: 67.75 kB / 0.8137 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.002168, allocations: 23.97 kB / 0.8138 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.612e-05/0.002264, allocations: 44.69 kB / 0.8138 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.002308, allocations: 19.91 kB / 0.8138 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.002326, allocations: 8.562 kB / 0.8138 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-06/0.002333, allocations: 5.25 kB / 0.8138 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.002355, allocations: 11.92 kB / 0.8138 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.00238, allocations: 15.94 kB / 0.8139 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.002483, allocations: 47.77 kB / 0.8139 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.002486, allocations: 1.562 kB / 0.8139 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.433e-06/0.002487, allocations: 0 / 0.8139 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.002493, allocations: 0 / 0.8139 GB, free: 15.14 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.0003877/0.00288, allocations: 412.2 kB / 0.8143 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.002918, allocations: 9.25 kB / 0.8143 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.002961, allocations: 16.84 kB / 0.8143 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.003104, allocations: 136.5 kB / 0.8144 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.003115, allocations: 5.062 kB / 0.8145 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.003127, allocations: 12.31 kB / 0.8145 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.003232, allocations: 82.5 kB / 0.8145 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.003241, allocations: 192 / 0.8145 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.00325, allocations: 1.031 kB / 0.8145 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.003257, allocations: 4.375 kB / 0.8146 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.003287, allocations: 24.64 kB / 0.8146 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.003725, allocations: 0.735 MB / 0.8153 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.084e-05/0.003806, allocations: 261.4 kB / 0.8155 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.003836, allocations: 135.8 kB / 0.8157 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.003866, allocations: 119.2 kB / 0.8158 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.003913, allocations: 152.6 kB / 0.8159 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.003914, allocations: 1.25 kB / 0.8159 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 5.604e-05/0.00397, allocations: 33.73 kB / 0.816 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.00403, allocations: 170.6 kB / 0.8161 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.004148, allocations: 213.4 kB / 0.8163 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.004156, allocations: 25.7 kB / 0.8164 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.004226, allocations: 170.5 kB / 0.8165 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.004228, allocations: 4 kB / 0.8165 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.004258, allocations: 32.66 kB / 0.8166 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.004371, allocations: 0.4884 MB / 0.817 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.00438, allocations: 4 kB / 0.817 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.082e-05/0.004421, allocations: 77.47 kB / 0.8171 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.394e-05/0.004485, allocations: 88.72 kB / 0.8172 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.004487, allocations: 0 / 0.8172 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000105/0.004592, allocations: 87.38 kB / 0.8173 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.004606, allocations: 8.625 kB / 0.8173 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.004612, allocations: 0 / 0.8173 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.004623, allocations: 5.969 kB / 0.8173 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.765e-05/0.00468, allocations: 15.94 kB / 0.8173 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.004683, allocations: 0 / 0.8173 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.004708, allocations: 7.938 kB / 0.8173 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.004714, allocations: 8 kB / 0.8173 GB, free: 11.36 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 9.242e-05/0.004806, allocations: 284.2 kB / 0.8176 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.004855, allocations: 157.5 kB / 0.8177 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.004904, allocations: 156.7 kB / 0.8179 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001421/0.005046, allocations: 269.3 kB / 0.8181 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.574e-05/0.005102, allocations: 272 kB / 0.8184 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.795e-05/0.00516, allocations: 276 kB / 0.8187 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.005343, allocations: 493.1 kB / 0.8191 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-05/0.005377, allocations: 144.9 kB / 0.8193 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.005408, allocations: 150 kB / 0.8194 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.436e-05/0.005463, allocations: 268 kB / 0.8197 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/0.005527, allocations: 276 kB / 0.8199 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.535e-05/0.005592, allocations: 277 kB / 0.8202 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.402e-05/0.005647, allocations: 264.1 kB / 0.8205 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.00577, allocations: 452.5 kB / 0.8209 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.005819, allocations: 156.8 kB / 0.821 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.005881, allocations: 269.2 kB / 0.8213 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-05/0.005933, allocations: 148.9 kB / 0.8214 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.005992, allocations: 272.3 kB / 0.8217 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.006023, allocations: 145.7 kB / 0.8218 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.00608, allocations: 145.4 kB / 0.822 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.00608, allocations: 0.9375 kB / 0.822 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001676/0.006248, allocations: 11.95 kB / 0.822 GB, free: 6.402 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 0.0001217/0.006369, allocations: 219.8 kB / 0.8222 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.012e-05/0.00646, allocations: 44.44 kB / 0.8222 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.006462, allocations: 2.25 kB / 0.8222 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.006463, allocations: 3.938 kB / 0.8222 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.006798, allocations: 0.7139 MB / 0.8229 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.00707, allocations: 269.6 kB / 0.8232 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.387e-05/0.007104, allocations: 59.34 kB / 0.8233 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.007143, allocations: 12.16 kB / 0.8233 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.007182, allocations: 70.2 kB / 0.8233 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of SimCode: time 1.012e-06/0.007183, allocations: 0 / 0.8233 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of Templates: time 0.001883/0.009066, allocations: 326.2 kB / 0.8236 GB, free: 4.652 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.263737531378865]