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_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.To_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.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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 249.5 MB / 257 MB, free: 6.953 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.001222/0.001223, allocations: 176.8 kB / 316.3 MB, free: 3.25 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.688/1.688, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008238/0.0008237, allocations: 86.47 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.09e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2452, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.812/1.057, allocations: 131.6 MB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/1.058, allocations: 61.91 kB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002926/1.06, allocations: 1.165 MB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/1.06, allocations: 0 / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.666e-06/1.061, allocations: 4 kB / 1.015 GB, free: 5.129 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.0004119/1.061, allocations: 362.1 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.061, allocations: 11.97 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/1.061, allocations: 10.72 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/1.061, allocations: 182.9 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/1.061, allocations: 4 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/1.061, allocations: 4 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001004/1.061, allocations: 33.75 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/1.062, allocations: 86.86 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.062, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/1.062, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.062, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/1.062, allocations: 422.9 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.718e-05/1.062, allocations: 37.28 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/1.062, allocations: 17.03 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/1.062, allocations: 2.625 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/1.062, allocations: 34.56 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.062, allocations: 0 / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001716/1.063, allocations: 52.97 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/1.063, allocations: 77.11 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/1.063, allocations: 122.5 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/1.063, allocations: 25.7 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/1.063, allocations: 118.7 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-06/1.063, allocations: 3.906 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/1.063, allocations: 0 / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.063, allocations: 321.8 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/1.063, allocations: 6.688 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/1.063, allocations: 20.19 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.248e-05/1.063, allocations: 7.938 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.063, allocations: 4 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.234e-05/1.063, allocations: 60.58 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.063, allocations: 8.75 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.063, allocations: 0 / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.063, allocations: 0 / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/1.063, allocations: 8 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.063, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/1.063, allocations: 7.844 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/1.063, allocations: 0 / 1.017 GB, free: 2.996 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.468e-05/1.064, allocations: 111.1 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/1.064, allocations: 16.09 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/1.064, allocations: 11.3 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/1.064, allocations: 3.938 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.064, allocations: 7.938 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/1.064, allocations: 0 / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/1.064, allocations: 448.8 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.064, allocations: 4.062 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/1.064, allocations: 4 kB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.064, allocations: 0 / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/1.064, allocations: 3.938 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.064, allocations: 0.875 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.064, allocations: 4 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/1.064, allocations: 94.5 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/1.064, allocations: 88.36 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/1.064, allocations: 4 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/1.064, allocations: 0 / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/1.064, allocations: 0 / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/1.064, allocations: 2.75 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.098e-05/1.064, allocations: 112 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.064, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001736/1.065, allocations: 8 kB / 1.018 GB, free: 2.035 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.0001409/1.065, allocations: 103.3 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.118e-05/1.065, allocations: 15.56 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.065, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/1.065, allocations: 4 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/1.065, allocations: 10.83 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/1.065, allocations: 107.1 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/1.066, allocations: 0.7041 MB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.884e-05/1.066, allocations: 4.172 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/1.066, allocations: 15.38 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.066, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of Templates: time 0.002175/1.068, allocations: 320.2 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches