Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 249.3 MB / 261.8 MB, free: 5.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001139, allocations: 172.9 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009627/0.0009626, allocations: 90.47 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.1e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2127, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7237/0.9365, allocations: 131.3 MB / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.9369, allocations: 66.09 kB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002835/0.9397, allocations: 1.16 MB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.807e-06/0.9397, allocations: 0 / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.9398, allocations: 7.938 kB / 1.021 GB, free: 2.328 MB / 0.6355 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.0003734/0.9401, allocations: 360.8 kB / 1.022 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.9402, allocations: 16.03 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.9402, allocations: 7.906 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.9405, allocations: 182.9 kB / 1.022 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.9405, allocations: 3.938 kB / 1.022 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.9405, allocations: 11.25 kB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.9407, allocations: 92.95 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.9407, allocations: 0 / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.9407, allocations: 3.562 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.9407, allocations: 3.984 kB / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.082e-05/0.9408, allocations: 38.38 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.9414, allocations: 463.2 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.872e-05/0.9415, allocations: 43.47 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.9415, allocations: 16.91 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.9416, allocations: 4 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.9416, allocations: 33.3 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.9416, allocations: 4 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001582/0.9418, allocations: 49.36 kB / 1.023 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.9418, allocations: 77.11 kB / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.942, allocations: 160 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.942, allocations: 25.7 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.9421, allocations: 114.2 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-06/0.9421, allocations: 7.344 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.9421, allocations: 3.938 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9423, allocations: 326.3 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.9423, allocations: 7.812 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.382e-05/0.9423, allocations: 17.34 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.8e-05/0.9424, allocations: 11.06 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.9424, allocations: 3.953 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.007e-05/0.9425, allocations: 64.34 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.9425, allocations: 9.312 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.9425, allocations: 0 / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.9425, allocations: 0 / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.9426, allocations: 8 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.9426, allocations: 0 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.9427, allocations: 7.938 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.9427, allocations: 0.625 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.652e-05/0.9428, allocations: 112.5 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.9428, allocations: 15.77 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.9429, allocations: 19.92 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.9429, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9429, allocations: 7.938 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.9429, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.9433, allocations: 477.9 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.9433, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.9434, allocations: 4 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9434, allocations: 64 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.9434, allocations: 8.75 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9434, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.9434, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.9435, allocations: 91.5 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.9436, allocations: 92.69 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.9436, allocations: 4.031 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.436e-05/0.9436, allocations: 4 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.9437, allocations: 7.938 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.9437, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001014/0.9438, allocations: 124.5 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9438, allocations: 0 / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001661/0.944, allocations: 8 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001694/0.9441, allocations: 104.5 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.165e-05/0.9442, allocations: 23.06 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9442, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.9442, allocations: 7.938 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.9444, allocations: 14.27 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.9447, allocations: 110.6 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.945, allocations: 0.7046 MB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.114e-05/0.9451, allocations: 4.438 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.9451, allocations: 15.38 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/0.9451, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.002438/0.9476, allocations: 454.5 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches