Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 190.6 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.759/1.759, allocations: 223.2 MB / 0.7949 GB, free: 18.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.00116, allocations: 96.31 kB / 0.9346 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005071/0.0005071, allocations: 11.41 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4243, allocations: 142.3 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2197/0.644, allocations: 148.8 MB / 1.368 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.6444, allocations: 63.95 kB / 1.368 GB, free: 4.52 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002574/0.647, allocations: 1.099 MB / 1.369 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.873e-06/0.647, allocations: 0 / 1.369 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.647, allocations: 4 kB / 1.369 GB, free: 3.414 MB / 0.8698 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.0003663/0.6474, allocations: 365.1 kB / 1.37 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.6474, allocations: 8.031 kB / 1.37 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.6475, allocations: 15.86 kB / 1.37 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.6476, allocations: 178.8 kB / 1.37 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.6477, allocations: 8 kB / 1.37 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.6477, allocations: 12.05 kB / 1.37 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.6479, allocations: 93.56 kB / 1.37 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6479, allocations: 0 / 1.37 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.6479, allocations: 8 kB / 1.37 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6479, allocations: 0 / 1.37 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.841e-05/0.648, allocations: 39.92 kB / 1.37 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.6486, allocations: 444.5 kB / 1.37 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.458e-05/0.6486, allocations: 41.14 kB / 1.37 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.6487, allocations: 4.125 kB / 1.37 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.6487, allocations: 34.66 kB / 1.371 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6487, allocations: 3.938 kB / 1.371 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001733/0.6489, allocations: 45.61 kB / 1.371 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.6489, allocations: 85.05 kB / 1.371 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.6491, allocations: 147.6 kB / 1.371 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.6491, allocations: 29.95 kB / 1.371 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.6492, allocations: 108 kB / 1.371 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.6492, allocations: 7.906 kB / 1.371 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.6492, allocations: 0 / 1.371 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6493, allocations: 318.8 kB / 1.371 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.6493, allocations: 3.984 kB / 1.371 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.6494, allocations: 21.72 kB / 1.371 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.6494, allocations: 11.95 kB / 1.371 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6494, allocations: 4 kB / 1.371 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.156e-05/0.6495, allocations: 65.53 kB / 1.371 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.6495, allocations: 4 kB / 1.371 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6495, allocations: 0 / 1.371 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6495, allocations: 0 / 1.371 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.6496, allocations: 11.94 kB / 1.371 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6496, allocations: 3.984 kB / 1.371 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.6497, allocations: 7.844 kB / 1.371 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.6497, allocations: 4 kB / 1.371 GB, free: 1.09 MB / 0.8698 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 8.751e-05/0.6498, allocations: 123.4 kB / 1.371 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.6498, allocations: 7.906 kB / 1.371 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.6499, allocations: 11.86 kB / 1.372 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.6499, allocations: 4.094 kB / 1.372 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.6499, allocations: 0 / 1.372 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6499, allocations: 7.922 kB / 1.372 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.6502, allocations: 474.8 kB / 1.372 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6503, allocations: 0 / 1.372 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.6503, allocations: 7.984 kB / 1.372 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.6503, allocations: 7.938 kB / 1.372 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.6503, allocations: 0 / 1.372 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6503, allocations: 0 / 1.372 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6503, allocations: 4 kB / 1.372 GB, free: 392 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.954e-05/0.6504, allocations: 91.64 kB / 1.372 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.6505, allocations: 89 kB / 1.372 GB, free: 164 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.6505, allocations: 4 kB / 1.372 GB, free: 160 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.6505, allocations: 0 / 1.372 GB, free: 160 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.6505, allocations: 0 / 1.372 GB, free: 160 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.6505, allocations: 4 kB / 1.372 GB, free: 156 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.19e-05/0.6506, allocations: 121.5 kB / 1.372 GB, free: 36 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6506, allocations: 0 / 1.372 GB, free: 36 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001733/0.6508, allocations: 15.89 kB / 1.372 GB, free: 20 kB / 0.8698 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.0001376/0.651, allocations: 113.4 kB / 1.372 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.042e-05/0.651, allocations: 19.98 kB / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6511, allocations: 0 / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.6511, allocations: 7.938 kB / 1.372 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.6512, allocations: 4 kB / 1.372 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.6515, allocations: 178.8 kB / 1.373 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.6518, allocations: 0.6965 MB / 1.373 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.6518, allocations: 12.42 kB / 1.373 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.6518, allocations: 11.44 kB / 1.373 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of SimCode: time 4.51e-07/0.6518, allocations: 3.938 kB / 1.373 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.002213/0.6541, allocations: 411.8 kB / 1.374 GB, free: 14.5 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches