Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 102.4 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.426/2.426, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001953, allocations: 63.59 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3629, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.0022/0.3652, allocations: 0.8332 MB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001129/0.3653, allocations: 47.78 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.3654, allocations: 0 / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.3654, allocations: 7.875 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.037e-05/0.3655, allocations: 11.86 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.613e-05/0.3656, allocations: 19.98 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.3657, allocations: 63.75 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3658, allocations: 47.95 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.759e-05/0.3659, allocations: 31.8 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.366, allocations: 31.84 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.366, allocations: 4 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.366, allocations: 8 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.3661, allocations: 11.94 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.3661, allocations: 39.73 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.3662, allocations: 75.7 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3663, allocations: 0 / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.478e-06/0.3663, allocations: 0 / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3663, allocations: 3.938 kB / 1.02 GB, free: 8.617 MB / 0.795 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.0004768/0.3668, allocations: 379.2 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3668, allocations: 8.922 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.3668, allocations: 8.844 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.367, allocations: 188.2 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3671, allocations: 4.375 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.3671, allocations: 16.31 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3672, allocations: 95.78 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3673, allocations: 192 / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3673, allocations: 7.938 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3673, allocations: 4 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.3674, allocations: 35.98 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.3679, allocations: 440.5 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.99e-05/0.368, allocations: 37.22 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.368, allocations: 17.81 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-06/0.368, allocations: 0 / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3681, allocations: 46.55 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3681, allocations: 0 / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.000159/0.3682, allocations: 53.48 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.3683, allocations: 77.11 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3684, allocations: 160.9 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3684, allocations: 25.7 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.3685, allocations: 108.2 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.355e-06/0.3685, allocations: 7.906 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.3686, allocations: 17.72 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3687, allocations: 318.8 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.3687, allocations: 7.938 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.162e-05/0.3687, allocations: 21.7 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/0.3688, allocations: 33.66 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3688, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.76e-05/0.3689, allocations: 53.61 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3689, allocations: 4 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3689, allocations: 3.938 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3689, allocations: 11.92 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.024e-05/0.369, allocations: 4 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.369, allocations: 3.984 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.369, allocations: 11.84 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.369, allocations: 4.062 kB / 1.022 GB, free: 6.184 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.629e-05/0.3691, allocations: 113.8 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.3692, allocations: 7.906 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.3692, allocations: 19.8 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3692, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3692, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3692, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.3696, allocations: 470.8 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3696, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.3696, allocations: 7.938 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3696, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3697, allocations: 8 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3697, allocations: 0 / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3697, allocations: 0 / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.513e-05/0.3698, allocations: 89.83 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.3698, allocations: 85.11 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3698, allocations: 3.984 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/0.3699, allocations: 3.984 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.3699, allocations: 4 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.3699, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.094e-05/0.37, allocations: 125.1 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.37, allocations: 0 / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001828/0.3702, allocations: 8 kB / 1.023 GB, free: 5.145 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001163/0.3703, allocations: 99.28 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.278e-05/0.3704, allocations: 19.94 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3704, allocations: 3.938 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-06/0.3704, allocations: 4 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.3706, allocations: 15.92 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.3709, allocations: 163 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3711, allocations: 0.6929 MB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.3712, allocations: 8.422 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.3712, allocations: 11.44 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.3712, allocations: 0 / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of Templates: time 0.002394/0.3736, allocations: 452.5 kB / 1.024 GB, free: 3.621 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches