Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.461/2.461, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000962/0.000962, allocations: 95.75 kB / 0.9318 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.094e-05/4.097e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3509, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.435, allocations: 149.6 MB / 1.365 GB, free: 4.523 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/1.435, allocations: 62.84 kB / 1.365 GB, free: 4.492 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002702/1.438, allocations: 1.092 MB / 1.366 GB, free: 3.523 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.252e-06/1.438, allocations: 0 / 1.366 GB, free: 3.523 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.345e-05/1.438, allocations: 0 / 1.366 GB, free: 3.523 MB / 0.823 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.000338/1.438, allocations: 358.6 kB / 1.366 GB, free: 3.137 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.438, allocations: 8.031 kB / 1.366 GB, free: 3.129 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/1.438, allocations: 11.86 kB / 1.366 GB, free: 3.117 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/1.439, allocations: 178.9 kB / 1.366 GB, free: 2.902 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/1.439, allocations: 7.688 kB / 1.366 GB, free: 2.898 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/1.439, allocations: 7.938 kB / 1.366 GB, free: 2.891 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/1.439, allocations: 93.84 kB / 1.367 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.439, allocations: 0 / 1.367 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/1.439, allocations: 0 / 1.367 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.439, allocations: 4 kB / 1.367 GB, free: 2.805 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/1.439, allocations: 36.88 kB / 1.367 GB, free: 2.781 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/1.44, allocations: 451 kB / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.872e-05/1.44, allocations: 40.5 kB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/1.44, allocations: 20.97 kB / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/1.44, allocations: 4 kB / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/1.44, allocations: 33.62 kB / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/1.44, allocations: 4 kB / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001904/1.44, allocations: 52.66 kB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/1.44, allocations: 83.19 kB / 1.367 GB, free: 2.043 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/1.44, allocations: 140.5 kB / 1.367 GB, free: 1.914 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/1.44, allocations: 29.77 kB / 1.367 GB, free: 1.879 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/1.44, allocations: 106.2 kB / 1.368 GB, free: 1.781 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-06/1.44, allocations: 11.41 kB / 1.368 GB, free: 1.773 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/1.44, allocations: 0 / 1.368 GB, free: 1.773 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.441, allocations: 321.8 kB / 1.368 GB, free: 1.453 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/1.441, allocations: 7.5 kB / 1.368 GB, free: 1.449 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.714e-05/1.441, allocations: 21.16 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/1.441, allocations: 11.94 kB / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.441, allocations: 0 / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.509e-05/1.441, allocations: 60.41 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.441, allocations: 4 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.441, allocations: 0 / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.441, allocations: 0 / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.956e-05/1.441, allocations: 11.94 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.441, allocations: 0 / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/1.441, allocations: 11.84 kB / 1.368 GB, free: 1.328 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/1.441, allocations: 12.25 kB / 1.368 GB, free: 1.316 MB / 0.823 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 7.966e-05/1.441, allocations: 108.2 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/1.441, allocations: 11.84 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/1.441, allocations: 11.16 kB / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/1.441, allocations: 0 / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/1.441, allocations: 0 / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.441, allocations: 4 kB / 1.368 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/1.442, allocations: 475.6 kB / 1.369 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.442, allocations: 0 / 1.369 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/1.442, allocations: 4 kB / 1.369 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.442, allocations: 0 / 1.369 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/1.442, allocations: 0 / 1.369 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.442, allocations: 0 / 1.369 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.442, allocations: 0 / 1.369 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/1.442, allocations: 103.3 kB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/1.442, allocations: 81.11 kB / 1.369 GB, free: 460 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/1.442, allocations: 4 kB / 1.369 GB, free: 456 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.25e-05/1.442, allocations: 6.922 kB / 1.369 GB, free: 452 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/1.442, allocations: 3.984 kB / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/1.442, allocations: 0.6875 kB / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of sorting global known variables: time 9.094e-05/1.442, allocations: 123.4 kB / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.442, allocations: 0 / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001586/1.442, allocations: 12.03 kB / 1.369 GB, free: 328 kB / 0.823 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.0001451/1.442, allocations: 103.2 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.048e-05/1.442, allocations: 19.25 kB / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.442, allocations: 0 / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-05/1.442, allocations: 7.5 kB / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/1.443, allocations: 9.844 kB / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/1.443, allocations: 105.2 kB / 1.369 GB, free: 60 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/1.443, allocations: 0.6965 MB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.359e-05/1.443, allocations: 8.422 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/1.443, allocations: 11.44 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of SimCode: time 2.344e-06/1.443, allocations: 0 / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of Templates: time 0.002631/1.446, allocations: 429.7 kB / 1.37 GB, free: 14.91 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches