Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_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.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 249.5 MB / 257 MB, free: 6.922 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.001017/0.001017, allocations: 183.6 kB / 316.3 MB, free: 3.227 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.699/1.699, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0009446/0.0009446, allocations: 89.03 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.807e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2419, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8677/1.11, allocations: 131.6 MB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/1.11, allocations: 67.47 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002725/1.113, allocations: 1.154 MB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.192e-06/1.113, allocations: 0 / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.013e-06/1.113, allocations: 0 / 1.015 GB, free: 5.086 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.0003471/1.113, allocations: 367.8 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.113, allocations: 8.031 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/1.113, allocations: 7.906 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/1.113, allocations: 186.1 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/1.113, allocations: 4 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/1.113, allocations: 4 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001089/1.113, allocations: 36.98 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/1.114, allocations: 82.78 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.114, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/1.114, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/1.114, allocations: 7.938 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/1.114, allocations: 423.4 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.76e-05/1.114, allocations: 41 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/1.114, allocations: 13.84 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/1.114, allocations: 0 / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/1.114, allocations: 41.11 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/1.114, allocations: 0 / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000166/1.115, allocations: 49.53 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/1.115, allocations: 80.92 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.115, allocations: 122.3 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/1.115, allocations: 29.7 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/1.115, allocations: 111.7 kB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/1.115, allocations: 3.969 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/1.115, allocations: 4 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.115, allocations: 323.4 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/1.115, allocations: 4 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/1.115, allocations: 20.12 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/1.115, allocations: 7.875 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.115, allocations: 0 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.118e-05/1.115, allocations: 69.14 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.115, allocations: 4 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.115, allocations: 3.938 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/1.115, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/1.115, allocations: 8 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/1.115, allocations: 0 / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/1.115, allocations: 7.844 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/1.115, allocations: 4 kB / 1.017 GB, free: 2.938 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 9.166e-05/1.115, allocations: 103.6 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/1.116, allocations: 12.02 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/1.116, allocations: 15.22 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.116, allocations: 4.219 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.116, allocations: 0 / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/1.116, allocations: 3.938 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/1.116, allocations: 454.4 kB / 1.017 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/1.116, allocations: 0 / 1.017 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/1.116, allocations: 8.062 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.116, allocations: 0 / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/1.116, allocations: 0 / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/1.116, allocations: 7.938 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.116, allocations: 0 / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/1.116, allocations: 87.44 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/1.116, allocations: 88.89 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/1.116, allocations: 0 / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/1.116, allocations: 0 / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/1.116, allocations: 3.984 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/1.116, allocations: 4 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.56e-05/1.116, allocations: 100.3 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.116, allocations: 0 / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001697/1.117, allocations: 8 kB / 1.018 GB, free: 1.992 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.0001358/1.117, allocations: 107.2 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.419e-05/1.117, allocations: 23.5 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.117, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/1.117, allocations: 4 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/1.117, allocations: 7.828 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/1.117, allocations: 104.9 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/1.118, allocations: 0.7043 MB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.122e-05/1.118, allocations: 4.188 kB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/1.118, allocations: 7.438 kB / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of SimCode: time 2.084e-06/1.118, allocations: 0 / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of Templates: time 0.002099/1.12, allocations: 336.6 kB / 1.019 GB, free: 0.6719 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches