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.41/1.41, allocations: 249.5 MB / 257 MB, free: 6.918 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.00107/0.00107, allocations: 176.8 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008456/0.0008455, allocations: 96.58 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.383e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2463, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8062/1.053, allocations: 131.6 MB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/1.053, allocations: 71.81 kB / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002812/1.056, allocations: 1.153 MB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/1.056, allocations: 0 / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.316e-05/1.056, allocations: 0 / 1.015 GB, free: 5.105 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.0004341/1.056, allocations: 369.1 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/1.056, allocations: 16.03 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/1.056, allocations: 7.906 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/1.056, allocations: 178.9 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/1.057, allocations: 0 / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/1.057, allocations: 8 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001035/1.057, allocations: 29.94 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/1.057, allocations: 85.14 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/1.057, allocations: 4 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/1.057, allocations: 0 / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.057, allocations: 4 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/1.057, allocations: 422.5 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/1.057, allocations: 37.34 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/1.058, allocations: 23.14 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/1.058, allocations: 3.938 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/1.058, allocations: 33.3 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/1.058, allocations: 0 / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001706/1.058, allocations: 52.73 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/1.058, allocations: 77.11 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/1.058, allocations: 122.2 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/1.058, allocations: 25.7 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/1.058, allocations: 117.3 kB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/1.058, allocations: 7.891 kB / 1.017 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/1.058, allocations: 0 / 1.017 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.058, allocations: 318.8 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/1.058, allocations: 7.188 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/1.058, allocations: 24.12 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/1.058, allocations: 11.55 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.058, allocations: 0 / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.092e-05/1.058, allocations: 53.09 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.058, allocations: 8 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.058, allocations: 4.062 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.058, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.431e-05/1.059, allocations: 4 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/1.059, allocations: 7.984 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/1.059, allocations: 7.844 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/1.059, allocations: 0 / 1.017 GB, free: 2.961 MB / 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.693e-05/1.059, allocations: 108.3 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/1.059, allocations: 3.953 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/1.059, allocations: 19.94 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.059, allocations: 4.219 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.059, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.059, allocations: 7.938 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/1.059, allocations: 452.8 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/1.059, allocations: 0 / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/1.059, allocations: 8.625 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.059, allocations: 0 / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/1.059, allocations: 4.047 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.059, allocations: 4 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.059, allocations: 0 / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.037e-05/1.059, allocations: 86.77 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/1.059, allocations: 85.09 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/1.059, allocations: 0 / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.411e-05/1.06, allocations: 8.031 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/1.06, allocations: 4 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/1.06, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.082e-05/1.06, allocations: 113.7 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.06, allocations: 0 / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001711/1.06, allocations: 8 kB / 1.018 GB, free: 2 MB / 0.6355 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.0001424/1.06, allocations: 99.19 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.655e-05/1.06, allocations: 22.19 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.06, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.115e-05/1.06, allocations: 4 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/1.06, allocations: 13.28 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/1.06, allocations: 106.9 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/1.061, allocations: 0.7004 MB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.883e-05/1.061, allocations: 8.172 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/1.061, allocations: 11.44 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of SimCode: time 1.195e-05/1.061, allocations: 0 / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of Templates: time 0.002112/1.063, allocations: 312.6 kB / 1.019 GB, free: 0.6992 MB / 0.6355 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