Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.785/2.785, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.000392, allocations: 12 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.849/0.8494, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001098/0.8506, allocations: 0.5239 MB / 1.021 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001176/0.8507, allocations: 39.8 kB / 1.021 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.8508, allocations: 0 / 1.021 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.8508, allocations: 3.938 kB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.686e-05/0.8509, allocations: 7.969 kB / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.08e-05/0.8509, allocations: 12 kB / 1.021 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.224e-05/0.851, allocations: 35.91 kB / 1.021 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.8512, allocations: 40.14 kB / 1.021 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.077e-05/0.8512, allocations: 15.88 kB / 1.021 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.8513, allocations: 19.84 kB / 1.021 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.8513, allocations: 4 kB / 1.021 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.8513, allocations: 0 / 1.021 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.8514, allocations: 15.92 kB / 1.022 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.8514, allocations: 37.64 kB / 1.022 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.771e-05/0.8515, allocations: 43.89 kB / 1.022 GB, free: 312 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.8515, allocations: 4 kB / 1.022 GB, free: 308 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8515, allocations: 3.938 kB / 1.022 GB, free: 304 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.8515, allocations: 0 / 1.022 GB, free: 304 kB / 0.7637 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.0004652/0.852, allocations: 369.1 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.852, allocations: 11.98 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.8521, allocations: 15.81 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.8523, allocations: 187 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.8523, allocations: 4 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.8523, allocations: 12 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.8525, allocations: 99.19 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.8525, allocations: 4 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.8525, allocations: 4 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.8525, allocations: 3.938 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.442e-05/0.8526, allocations: 39.92 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.8532, allocations: 436.7 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.8533, allocations: 41.19 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-06/0.8533, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.8533, allocations: 34.69 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8533, allocations: 4 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001577/0.8535, allocations: 53.5 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.8535, allocations: 77.11 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.8537, allocations: 163.1 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.8537, allocations: 25.7 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.8537, allocations: 103.9 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.8538, allocations: 11.84 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.8538, allocations: 4.25 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.8539, allocations: 322.8 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.8539, allocations: 4 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.722e-05/0.8539, allocations: 21.7 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/0.8539, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.854, allocations: 3.938 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.21e-05/0.854, allocations: 57.61 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.8541, allocations: 8.062 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.8541, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.8541, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.8541, allocations: 15.94 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.8542, allocations: 3.938 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.657e-05/0.8542, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.8542, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 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 () * Number of clocked 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.007e-05/0.8543, allocations: 113.8 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.8543, allocations: 7.906 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.8544, allocations: 19.8 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.8544, allocations: 4 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.8544, allocations: 3.953 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.8544, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.8547, allocations: 470.7 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8547, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.8548, allocations: 7.938 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8548, allocations: 4.062 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.8548, allocations: 3.953 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8548, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8548, allocations: 4 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.966e-05/0.8549, allocations: 87.55 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.8549, allocations: 92.97 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.855, allocations: 8.016 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.855, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.855, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.855, allocations: 4 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.34e-05/0.8551, allocations: 117.1 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8551, allocations: 0 / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001752/0.8553, allocations: 11.94 kB / 1.025 GB, free: 12.89 MB / 0.7794 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 () * Number of clocked 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.0001131/0.8554, allocations: 97.5 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.563e-05/0.8555, allocations: 23.94 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.8555, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.069e-05/0.8555, allocations: 8 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.596e-05/0.8556, allocations: 11.94 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.8559, allocations: 178.8 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.8561, allocations: 0.6926 MB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.8562, allocations: 8.438 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.8562, allocations: 7.438 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.8562, allocations: 4 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of Templates: time 0.002314/0.8585, allocations: 419.9 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches