Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009155/0.009154, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001193/0.001192, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.857/2.857, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.89 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3691, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002175/0.3713, allocations: 0.8331 MB / 1.209 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.3714, allocations: 43.8 kB / 1.209 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.3715, allocations: 0 / 1.209 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.3715, allocations: 7.875 kB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.574e-05/0.3716, allocations: 11.86 kB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.288e-05/0.3717, allocations: 23.97 kB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3718, allocations: 59.84 kB / 1.209 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.372, allocations: 43.92 kB / 1.209 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3721, allocations: 27.86 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.3722, allocations: 31.8 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.3722, allocations: 4 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.3722, allocations: 8 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.3722, allocations: 19.92 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.3723, allocations: 39.73 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.3724, allocations: 67.7 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3724, allocations: 4 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3724, allocations: 0 / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3724, allocations: 0 / 1.209 GB, free: 8.43 MB / 0.9669 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.0004172/0.3728, allocations: 381.3 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3729, allocations: 12.62 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.3729, allocations: 16.84 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.3731, allocations: 200.2 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.3732, allocations: 384 / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.3732, allocations: 12.38 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.3733, allocations: 89.61 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.3734, allocations: 192 / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3734, allocations: 7.938 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3734, allocations: 4 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.212e-05/0.3735, allocations: 35.98 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.374, allocations: 440.5 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.687e-05/0.3741, allocations: 37.22 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.3741, allocations: 17.72 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.3741, allocations: 8.031 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.3742, allocations: 38.56 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3742, allocations: 0 / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.3744, allocations: 57.47 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.3744, allocations: 77.11 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3746, allocations: 154.5 kB / 1.21 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3746, allocations: 33.7 kB / 1.21 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.3747, allocations: 104 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.3747, allocations: 7.906 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.3748, allocations: 21.62 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3749, allocations: 322.8 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.3749, allocations: 4 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.318e-05/0.3749, allocations: 17.72 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/0.375, allocations: 29.66 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.375, allocations: 4 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.541e-05/0.3751, allocations: 53.69 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3751, allocations: 4 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3751, allocations: 3.938 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3751, allocations: 4 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.3752, allocations: 8.031 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3752, allocations: 0 / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.3753, allocations: 19.89 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.3753, allocations: 3.984 kB / 1.211 GB, free: 5.984 MB / 0.9669 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.12e-05/0.3754, allocations: 113.8 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.3754, allocations: 7.906 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.3754, allocations: 15.81 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3755, allocations: 0 / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3755, allocations: 0 / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3755, allocations: 0 / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.3759, allocations: 474.8 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3759, allocations: 0 / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.3759, allocations: 4 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3759, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3759, allocations: 4 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.376, allocations: 0 / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.376, allocations: 0 / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.3761, allocations: 97.73 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.3761, allocations: 85.02 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3762, allocations: 0 / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.968e-05/0.3762, allocations: 0 / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.3762, allocations: 4 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.3762, allocations: 3.938 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.37e-05/0.3763, allocations: 126.3 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3763, allocations: 4.031 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001864/0.3765, allocations: 8 kB / 1.212 GB, free: 4.945 MB / 0.9669 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.0001742/0.3767, allocations: 99.23 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.3768, allocations: 23.88 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.3768, allocations: 0 / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.036e-05/0.3768, allocations: 4 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.377, allocations: 12.19 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.3774, allocations: 165 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.3778, allocations: 0.6967 MB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.3779, allocations: 8.422 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.3779, allocations: 11.44 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3779, allocations: 4 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of Templates: time 0.002968/0.3809, allocations: 457 kB / 1.213 GB, free: 3.414 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches