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_hp.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_hp,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_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,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_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 249.5 MB / 257 MB, free: 6.863 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.001008/0.001008, allocations: 184.8 kB / 316.3 MB, free: 3.238 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.545/1.545, 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.0009133/0.0009131, allocations: 90.84 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.891e-05/1.895e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2131, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6266/0.8397, allocations: 131.6 MB / 1.014 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.84, allocations: 64.59 kB / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002873/0.8429, allocations: 1.163 MB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8429, allocations: 4 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.8429, 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.0003345/0.8433, allocations: 365.4 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.8433, allocations: 15.97 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.8434, allocations: 7.906 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.8435, allocations: 181 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.8436, allocations: 0 / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.8436, allocations: 4 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.8437, allocations: 36.3 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.8439, allocations: 82.03 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.8439, allocations: 0.75 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.8439, allocations: 8 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8439, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.8445, allocations: 423.2 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.998e-05/0.8446, allocations: 40.66 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.8446, allocations: 17.16 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.8446, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.8447, allocations: 33.3 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8447, allocations: 7.938 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001984/0.8449, allocations: 52.84 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.845, allocations: 77.11 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.8451, allocations: 122.7 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.8451, allocations: 25.7 kB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.8452, allocations: 114.2 kB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-06/0.8452, allocations: 6.719 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.8452, allocations: 0 / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.8453, allocations: 322.5 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.8453, allocations: 4 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.8454, allocations: 23.62 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.8454, allocations: 7.25 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8454, allocations: 0 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.781e-05/0.8455, allocations: 60.89 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.8456, allocations: 12.06 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8456, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.8456, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.8457, allocations: 4.094 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.8457, allocations: 4 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.8457, allocations: 7.844 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.8457, allocations: 3.984 kB / 1.017 GB, free: 2.941 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 6.249e-05/0.8458, allocations: 101 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.8458, allocations: 7.953 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.8459, allocations: 22.91 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.8459, allocations: 224 / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8459, allocations: 3.938 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.8459, allocations: 3.938 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.8463, allocations: 454.8 kB / 1.017 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8463, allocations: 0 / 1.017 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.8463, allocations: 4.875 kB / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.8464, allocations: 64 / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.8464, allocations: 7.938 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8464, allocations: 0 / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8464, allocations: 0 / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.8465, allocations: 90.25 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.8466, allocations: 81.11 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.8466, allocations: 6.156 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.8466, allocations: 7.25 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.8466, allocations: 3.984 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.8466, allocations: 0 / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.398e-05/0.8467, allocations: 103.4 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8467, allocations: 0 / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001936/0.8469, allocations: 11.94 kB / 1.018 GB, free: 1.988 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.0001251/0.8471, allocations: 95.25 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.71e-05/0.8471, allocations: 30.67 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8472, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.8472, 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.0001231/0.8473, allocations: 11.08 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.8476, allocations: 103.1 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.8479, allocations: 0.7043 MB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.8479, 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 2.162e-05/0.8479, allocations: 11.44 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of SimCode: time 1.733e-06/0.8479, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of Templates: time 0.002074/0.85, allocations: 318.1 kB / 1.019 GB, free: 0.6797 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches