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_BtuPerHour.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_BtuPerHour,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_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,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_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.3 MB / 261.8 MB, free: 5.969 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.001161/0.001161, allocations: 182.5 kB / 321.3 MB, free: 14.65 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.524/1.524, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008702/0.0008701, allocations: 86.53 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.701e-05/4.704e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2238, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7466/0.9705, allocations: 131.3 MB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.9708, allocations: 64.39 kB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002757/0.9735, allocations: 1.162 MB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9736, allocations: 0 / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.9736, allocations: 4 kB / 1.021 GB, free: 2.336 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.0003404/0.9739, allocations: 368.8 kB / 1.022 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.974, allocations: 8.031 kB / 1.022 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.974, allocations: 11.91 kB / 1.022 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.9742, allocations: 176 kB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.9742, allocations: 7.562 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.9742, allocations: 11.44 kB / 1.022 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.9744, allocations: 88.14 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.9744, allocations: 0 / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.9745, allocations: 7.188 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.9745, allocations: 4 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.184e-05/0.9746, allocations: 42.81 kB / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.9752, allocations: 464 kB / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.487e-05/0.9752, allocations: 47.7 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.696e-05/0.9753, allocations: 13.84 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.9753, allocations: 4 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.9753, allocations: 37.23 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.9753, allocations: 4 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001572/0.9755, allocations: 49.48 kB / 1.023 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.9756, allocations: 77.11 kB / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.9757, allocations: 159.6 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.9758, allocations: 25.7 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.9758, allocations: 110.4 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.9759, allocations: 7.906 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.9759, allocations: 0 / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.976, allocations: 324.6 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.976, allocations: 11.5 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.9761, allocations: 16.78 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.9761, allocations: 11.56 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.9761, allocations: 3.953 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.8e-05/0.9762, allocations: 64.78 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.9762, allocations: 8.062 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.9762, allocations: 0 / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.9763, allocations: 0 / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.9763, allocations: 8 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.9764, allocations: 0 / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.9764, allocations: 3.938 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.9764, allocations: 4 kB / 1.023 GB, free: 100 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 8.465e-05/0.9765, allocations: 108 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.9765, allocations: 15.77 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.9766, allocations: 26.22 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.9766, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9766, allocations: 7.938 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.9766, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.977, allocations: 477 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9771, allocations: 4 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.9771, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.9771, allocations: 4.062 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.9771, allocations: 4 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9771, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9771, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.975e-05/0.9772, allocations: 97.56 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.9773, allocations: 91.45 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.9773, allocations: 8.016 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.313e-05/0.9774, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.9774, allocations: 3.312 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.9774, allocations: 4 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.4e-05/0.9775, allocations: 123.5 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9775, allocations: 0 / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001664/0.9776, 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.0001346/0.9778, allocations: 103.2 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.144e-05/0.9779, allocations: 22.69 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9779, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.9779, 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.0001131/0.9781, allocations: 6.75 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.9783, allocations: 111.4 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.9786, allocations: 0.7007 MB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.22e-05/0.9787, allocations: 8.422 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.9787, allocations: 15.38 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/0.9787, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of Templates: time 0.00233/0.981, allocations: 462.7 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_BtuPerHour.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches