Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001494/0.001494, allocations: 173.1 kB / 498.1 MB, free: 5.754 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.642/1.642, allocations: 223.2 MB / 0.7949 GB, free: 17.87 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.0008907/0.0008907, allocations: 99.95 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003719, allocations: 12.22 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2851, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.474, allocations: 148.8 MB / 1.368 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.4744, allocations: 59.97 kB / 1.368 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002941/0.4774, allocations: 1.092 MB / 1.369 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.286e-06/0.4774, allocations: 4 kB / 1.369 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.4774, allocations: 4 kB / 1.369 GB, free: 12.11 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.0005363/0.478, allocations: 365.8 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.478, allocations: 12.03 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.4781, allocations: 11.86 kB / 1.37 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.4783, allocations: 174.9 kB / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.4784, allocations: 8 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.4784, allocations: 4 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.4786, allocations: 97.05 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4786, allocations: 4 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.4787, allocations: 3.984 kB / 1.37 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4787, allocations: 0 / 1.37 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.4788, allocations: 39.92 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.4797, allocations: 456.5 kB / 1.37 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.821e-05/0.4798, allocations: 41.25 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.4798, allocations: 0 / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4798, allocations: 34.56 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.4798, allocations: 0 / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002408/0.4801, allocations: 53.59 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.4802, allocations: 81.11 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.4803, allocations: 147 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.4804, allocations: 25.7 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.4805, allocations: 104 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.327e-06/0.4805, allocations: 8.156 kB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.4805, allocations: 0 / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4806, allocations: 322.8 kB / 1.371 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.4807, allocations: 8.219 kB / 1.371 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.4807, allocations: 21.66 kB / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.4807, allocations: 15.89 kB / 1.371 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4807, allocations: 3.984 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.84e-05/0.4809, allocations: 61.55 kB / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4809, allocations: 4 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4809, allocations: 4 kB / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4809, allocations: 4 kB / 1.371 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.481, allocations: 7.938 kB / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.481, allocations: 3.984 kB / 1.371 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.4811, allocations: 7.906 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.4811, allocations: 4 kB / 1.371 GB, free: 9.781 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 0.0001151/0.4812, allocations: 117.9 kB / 1.371 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.4813, allocations: 11.91 kB / 1.372 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.4813, allocations: 7.875 kB / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4813, allocations: 0 / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4813, allocations: 0 / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4813, allocations: 3.984 kB / 1.372 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.4818, allocations: 474.7 kB / 1.372 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4818, allocations: 0 / 1.372 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.4818, allocations: 8.062 kB / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4818, allocations: 0 / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4818, allocations: 4 kB / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4818, allocations: 0 / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4818, allocations: 0 / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.482, allocations: 99.5 kB / 1.372 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.482, allocations: 85.02 kB / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.4821, allocations: 3.984 kB / 1.372 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.4821, allocations: 0 / 1.372 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.4821, allocations: 4 kB / 1.372 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.4821, allocations: 0 / 1.372 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.19e-05/0.4822, allocations: 124.9 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4822, allocations: 0 / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000178/0.4824, allocations: 11.95 kB / 1.372 GB, free: 8.727 MB / 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.0001571/0.4826, allocations: 103.1 kB / 1.372 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.606e-05/0.4826, allocations: 19.94 kB / 1.372 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4827, allocations: 0 / 1.372 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.706e-05/0.4827, allocations: 8 kB / 1.372 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.4828, allocations: 7.938 kB / 1.372 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.4832, allocations: 182.8 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.4835, allocations: 0.6965 MB / 1.373 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.4835, allocations: 8.469 kB / 1.373 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.4836, allocations: 15.44 kB / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of SimCode: time 2.91e-07/0.4836, allocations: 0 / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of Templates: time 0.002426/0.486, allocations: 431.8 kB / 1.374 GB, free: 7.191 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches