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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007093/0.007092, allocations: 102.6 kB / 15.74 MB, free: 5.508 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.001224/0.001225, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.763/2.763, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 1.019 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3725, allocations: 151.6 MB / 1.167 GB, free: 6.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001973/0.3745, allocations: 0.828 MB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001109/0.3746, allocations: 43.78 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.3747, allocations: 4 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.3747, allocations: 7.875 kB / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.3748, allocations: 11.88 kB / 1.167 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.956e-05/0.3749, allocations: 23.97 kB / 1.168 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.375, allocations: 63.78 kB / 1.168 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3752, allocations: 43.98 kB / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.39e-05/0.3752, allocations: 23.86 kB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.3753, allocations: 31.78 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3753, allocations: 8 kB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.3753, allocations: 4 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.3754, allocations: 19.92 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.3754, allocations: 27.81 kB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.3755, allocations: 87.5 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3756, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3756, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.3756, allocations: 4 kB / 1.168 GB, free: 5.719 MB / 0.92 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.0004154/0.376, allocations: 379.1 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.376, allocations: 8.031 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.3761, allocations: 12.84 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.3763, allocations: 196.2 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3763, allocations: 8.375 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.3763, allocations: 4.375 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3765, allocations: 95.89 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3765, allocations: 8.125 kB / 1.169 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3765, allocations: 3.938 kB / 1.169 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3765, allocations: 0 / 1.169 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.3766, allocations: 39.92 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.3771, allocations: 432.7 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.375e-05/0.3772, allocations: 45.19 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.3772, allocations: 17.84 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.3773, allocations: 4 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.3773, allocations: 30.56 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3773, allocations: 0 / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001773/0.3775, allocations: 65.52 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3775, allocations: 77.11 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3777, allocations: 161.5 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.3777, allocations: 25.7 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.3777, allocations: 100.1 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.3778, allocations: 7.891 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.3778, allocations: 17.72 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3779, allocations: 327.1 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.3779, allocations: 4 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.3779, allocations: 25.66 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.129e-05/0.378, allocations: 21.72 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.378, allocations: 0 / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.056e-05/0.3781, allocations: 69.56 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3781, allocations: 8 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3781, allocations: 3.938 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3781, allocations: 0 / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.506e-05/0.3782, allocations: 8 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3782, allocations: 0 / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.653e-05/0.3782, allocations: 0 / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.3783, allocations: 4 kB / 1.17 GB, free: 3.293 MB / 0.92 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.278e-05/0.3784, allocations: 117.8 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.3784, allocations: 7.953 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.3784, allocations: 15.84 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3784, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3785, allocations: 4 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3785, allocations: 3.938 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.3789, allocations: 474.7 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3789, allocations: 0 / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.3789, allocations: 7.984 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3789, allocations: 11.94 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3789, allocations: 4 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3789, allocations: 0 / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3789, allocations: 0 / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.497e-05/0.379, allocations: 77.89 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.3791, allocations: 85.05 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3791, allocations: 8.125 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.125e-05/0.3791, allocations: 4 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.3792, allocations: 3.984 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.3792, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.683e-05/0.3793, allocations: 120.1 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3793, allocations: 0 / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001949/0.3795, allocations: 8 kB / 1.171 GB, free: 2.242 MB / 0.92 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.0001764/0.3796, allocations: 111.1 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.3798, allocations: 20 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3798, allocations: 0 / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.3798, allocations: 11.94 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.38, allocations: 10.12 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.3803, allocations: 164.9 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.3806, allocations: 0.6965 MB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.3806, allocations: 8.422 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.3807, allocations: 11.44 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/0.3807, allocations: 0 / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of Templates: time 0.002965/0.3837, allocations: 468.5 kB / 1.172 GB, free: 0.6914 MB / 0.92 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 -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/jenkins/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