Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008311/0.008311, allocations: 96.73 kB / 15.73 MB, free: 6.039 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.001648/0.001648, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 75.86 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3628, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002155/0.3649, allocations: 0.8349 MB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.3651, allocations: 43.78 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.3651, allocations: 0 / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.3652, allocations: 15.86 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.799e-05/0.3653, allocations: 7.875 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.648e-05/0.3653, allocations: 19.98 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.3654, allocations: 63.84 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.3656, allocations: 39.84 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3657, allocations: 31.8 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.984e-05/0.3658, allocations: 27.84 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.3658, allocations: 8 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.552e-05/0.3658, allocations: 8 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.3658, allocations: 11.94 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.3659, allocations: 39.73 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.366, allocations: 71.58 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3661, allocations: 0 / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3661, allocations: 8 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.3661, allocations: 0 / 1.222 GB, free: 12.57 MB / 0.9825 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.0005489/0.3666, allocations: 379.1 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3667, allocations: 12.03 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.3667, allocations: 12.84 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.3669, allocations: 188.3 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3669, allocations: 384 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.367, allocations: 16.31 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3671, allocations: 99.84 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3671, allocations: 192 / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3671, allocations: 3.938 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3671, allocations: 4 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.3672, allocations: 39.92 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.3678, allocations: 432.8 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.614e-05/0.3678, allocations: 41.25 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.3679, allocations: 25.69 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.3679, allocations: 0 / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3679, allocations: 38.56 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3679, allocations: 4 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001766/0.3681, allocations: 53.53 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.3681, allocations: 77.11 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.3683, allocations: 164 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3683, allocations: 25.7 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.3684, allocations: 100.1 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.3684, allocations: 11.94 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.3684, allocations: 25.91 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3685, allocations: 318.8 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.3686, allocations: 4 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.3686, allocations: 25.64 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.989e-05/0.3686, allocations: 25.66 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3686, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.701e-05/0.3687, allocations: 69.58 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3687, allocations: 4 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3687, allocations: 3.938 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3687, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.3688, allocations: 8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3688, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.3688, allocations: 7.938 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.3689, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 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 9.373e-05/0.3689, allocations: 117.9 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.369, allocations: 7.953 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.369, allocations: 19.8 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.369, allocations: 0 / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.369, allocations: 0 / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.369, allocations: 0 / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.3694, allocations: 470.7 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3694, allocations: 4.062 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.3695, allocations: 4 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3695, allocations: 0 / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.3695, allocations: 0 / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.3695, allocations: 11.94 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3695, allocations: 0 / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.753e-05/0.3696, allocations: 81.88 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.3696, allocations: 93.08 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3696, allocations: 0 / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.3697, allocations: 0 / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.3697, allocations: 0 / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3697, allocations: 11.94 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.653e-05/0.3698, allocations: 120.1 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3698, allocations: 0 / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001875/0.37, allocations: 4 kB / 1.225 GB, free: 9.094 MB / 0.9825 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.0001282/0.3701, allocations: 113.3 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.3702, allocations: 15.98 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3702, allocations: 0 / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/0.3702, allocations: 7.938 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.3704, allocations: 17.91 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.3707, allocations: 162.6 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.371, allocations: 0.6965 MB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.3711, allocations: 8.438 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.3711, allocations: 7.438 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.3711, allocations: 4 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of Templates: time 0.002642/0.3737, allocations: 456.5 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches