Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 178.9 kB / 326.5 MB, free: 2.281 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.783/1.783, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.0008622/0.0008624, allocations: 96.47 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003409, allocations: 9.812 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.259, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.4391, allocations: 131.4 MB / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4394, allocations: 67.95 kB / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002759/0.4422, allocations: 1.177 MB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4422, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.4422, allocations: 4 kB / 1.03 GB, free: 11.14 MB / 0.6823 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.0004007/0.4426, allocations: 374.9 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4427, allocations: 8.25 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.4427, allocations: 11.91 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.4429, allocations: 186.8 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.4429, allocations: 7.938 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.4429, allocations: 8 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.4431, allocations: 102.2 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.4431, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4432, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4432, allocations: 3.984 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.128e-05/0.4433, allocations: 43.92 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.4439, allocations: 456.6 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.332e-05/0.444, allocations: 41.25 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.444, allocations: 0 / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.444, allocations: 38.55 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.444, allocations: 0 / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001795/0.4442, allocations: 53.61 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.4443, allocations: 77.11 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.4444, allocations: 161.3 kB / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.4445, allocations: 25.7 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.4445, allocations: 108.2 kB / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.688e-06/0.4446, allocations: 11.84 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.4446, allocations: 0 / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4447, allocations: 322.8 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.4447, allocations: 8 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.4448, allocations: 21.66 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/0.4448, allocations: 12 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4448, allocations: 0 / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.921e-05/0.4449, allocations: 69.55 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4449, allocations: 4 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4449, allocations: 0 / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.445, allocations: 3.938 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.445, allocations: 8 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.445, allocations: 0 / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.4451, allocations: 4.656 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.4451, allocations: 4 kB / 1.032 GB, free: 8.758 MB / 0.6823 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 9.852e-05/0.4452, allocations: 119.3 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.4453, allocations: 19.7 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.4453, allocations: 16.5 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4453, allocations: 0 / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4453, allocations: 0 / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4453, allocations: 0 / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.4458, allocations: 486.8 kB / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4458, allocations: 0 / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.4458, allocations: 8.062 kB / 1.032 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4458, allocations: 0 / 1.032 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.4458, allocations: 3.984 kB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.4458, allocations: 8 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4459, allocations: 0 / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.446, allocations: 95.52 kB / 1.032 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.446, allocations: 89 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.446, allocations: 0 / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.593e-05/0.4461, allocations: 8 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.4461, allocations: 0 / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.4461, allocations: 0 / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001078/0.4462, allocations: 124.9 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4462, allocations: 0 / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001836/0.4464, allocations: 19.84 kB / 1.033 GB, free: 7.664 MB / 0.6823 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.0001418/0.4466, allocations: 103.3 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.98e-05/0.4467, allocations: 19.94 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.4467, allocations: 0 / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.4467, allocations: 8 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.4468, allocations: 11.89 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.4472, allocations: 208.1 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.4475, allocations: 0.7004 MB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.162e-05/0.4475, allocations: 12.42 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.4476, allocations: 11.44 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.4476, allocations: 0 / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of Templates: time 0.002471/0.4501, allocations: 447.8 kB / 1.034 GB, free: 6.098 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches