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_inH2O.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_inH2O,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_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,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_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 249.5 MB / 257 MB, free: 6.988 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.001104/0.001104, allocations: 176.9 kB / 316.3 MB, free: 3.32 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.562/1.562, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0009052/0.000905, allocations: 92.62 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.526e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2056, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8823/1.088, allocations: 131.6 MB / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/1.088, allocations: 62.16 kB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002741/1.091, allocations: 1.169 MB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.213e-06/1.091, allocations: 4 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.212e-06/1.091, allocations: 0 / 1.015 GB, free: 5.133 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.0002923/1.091, allocations: 365.6 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/1.091, allocations: 8.031 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/1.091, allocations: 7.906 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/1.092, allocations: 182.9 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/1.092, allocations: 4 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/1.092, allocations: 4 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.951e-05/1.092, allocations: 42.88 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/1.092, allocations: 79.16 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/1.092, allocations: 0 / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.092, allocations: 3.984 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.092, allocations: 0 / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/1.092, allocations: 419.5 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.686e-05/1.092, allocations: 37.09 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/1.092, allocations: 13.78 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/1.092, allocations: 4 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/1.093, allocations: 33.3 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.665e-06/1.093, allocations: 96 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/1.093, allocations: 53.41 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.093, allocations: 77.11 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.093, allocations: 122.1 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/1.093, allocations: 29.77 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/1.093, allocations: 115.4 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/1.093, allocations: 7.844 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/1.093, allocations: 0 / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.093, allocations: 318.8 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/1.093, allocations: 7.75 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/1.093, allocations: 24.12 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/1.093, allocations: 11.5 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.093, allocations: 0 / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.69e-05/1.093, allocations: 57.39 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.093, allocations: 8 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/1.093, allocations: 0 / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.093, allocations: 0 / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/1.093, allocations: 4 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.093, allocations: 7.938 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.021e-05/1.093, allocations: 7.844 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/1.093, allocations: 4.062 kB / 1.017 GB, free: 3 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 5.908e-05/1.093, allocations: 105 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/1.094, allocations: 7.938 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/1.094, allocations: 19.61 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/1.094, allocations: 224 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.094, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/1.094, allocations: 7.938 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/1.094, allocations: 458.6 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.094, allocations: 0 / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/1.094, allocations: 4 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.094, allocations: 0 / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/1.094, allocations: 0 / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.094, allocations: 0 / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.094, allocations: 4 kB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.496e-05/1.094, allocations: 95.19 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/1.094, allocations: 85 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/1.094, allocations: 7.984 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.143e-05/1.094, allocations: 3.062 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/1.094, allocations: 3.938 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/1.094, allocations: 0 / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.639e-05/1.094, allocations: 107.7 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.094, allocations: 4.031 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001779/1.095, 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.0001017/1.095, allocations: 95.25 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.935e-05/1.095, allocations: 15.94 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.095, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/1.095, allocations: 11.69 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/1.095, allocations: 8.891 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/1.095, allocations: 108.8 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/1.095, allocations: 0.7027 MB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.428e-05/1.095, allocations: 192 / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/1.095, allocations: 11.44 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of SimCode: time 1.393e-06/1.095, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of Templates: time 0.00193/1.097, allocations: 325.1 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches