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.008987/0.008987, allocations: 101.1 kB / 15.73 MB, free: 6.023 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.001703/0.001703, allocations: 195.5 kB / 16.67 MB, free: 5.934 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.643/2.643, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.149, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002231/1.151, allocations: 0.8379 MB / 1.167 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001228/1.151, allocations: 39.78 kB / 1.167 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.723e-05/1.151, allocations: 4 kB / 1.167 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/1.151, allocations: 7.875 kB / 1.167 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/1.151, allocations: 15.86 kB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.676e-05/1.151, allocations: 15.98 kB / 1.168 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/1.152, allocations: 63.84 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/1.152, allocations: 39.98 kB / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.047e-05/1.152, allocations: 31.8 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/1.152, allocations: 27.84 kB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/1.152, allocations: 12 kB / 1.168 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/1.152, allocations: 4 kB / 1.168 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/1.152, allocations: 19.92 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/1.152, allocations: 31.8 kB / 1.168 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/1.152, allocations: 71.17 kB / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.152, allocations: 0 / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.894e-06/1.152, allocations: 0 / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.81e-06/1.152, allocations: 4 kB / 1.168 GB, free: 2.609 MB / 0.8887 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.0004934/1.153, allocations: 380.1 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.153, allocations: 16.92 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/1.153, allocations: 16.78 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/1.153, allocations: 188.2 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/1.153, allocations: 8.375 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/1.153, allocations: 8.375 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/1.153, allocations: 98.31 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.153, allocations: 192 / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/1.153, allocations: 7.938 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/1.153, allocations: 8 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.796e-05/1.153, allocations: 43.86 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006379/1.154, allocations: 432.8 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/1.154, allocations: 41.25 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/1.154, allocations: 21.78 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/1.154, allocations: 0 / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/1.154, allocations: 38.55 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/1.154, allocations: 0 / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002106/1.154, allocations: 57.52 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/1.154, allocations: 81.36 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/1.155, allocations: 160.5 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/1.155, allocations: 25.7 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/1.155, allocations: 108 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/1.155, allocations: 7.953 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/1.155, allocations: 17.72 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.155, allocations: 314.8 kB / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/1.155, allocations: 8 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.18e-05/1.155, allocations: 25.7 kB / 1.17 GB, free: 300 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/1.155, allocations: 25.66 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.155, allocations: 0 / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.237e-05/1.155, allocations: 61.55 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.155, allocations: 6.812 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.155, allocations: 3.938 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.155, allocations: 7.984 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/1.155, allocations: 12.06 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.453e-06/1.155, allocations: 3.938 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/1.155, allocations: 7.938 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/1.155, allocations: 0 / 1.17 GB, free: 160 kB / 0.8887 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.969e-05/1.155, allocations: 113.8 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/1.156, allocations: 7.953 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/1.156, allocations: 15.8 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.156, allocations: 0 / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.156, allocations: 0 / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.156, allocations: 4 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/1.156, allocations: 478.7 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.156, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/1.156, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/1.156, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/1.156, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.156, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.156, allocations: 8 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.357e-05/1.156, allocations: 85.81 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/1.156, allocations: 85.06 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/1.156, allocations: 3.984 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/1.156, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/1.156, allocations: 4 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/1.156, allocations: 8.031 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.792e-05/1.156, allocations: 121.9 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.156, allocations: 0 / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000186/1.157, allocations: 12 kB / 1.171 GB, free: 15.1 MB / 0.9044 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.0001335/1.157, allocations: 95.25 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001021/1.157, allocations: 19.94 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.157, allocations: 0 / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/1.157, allocations: 8.125 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/1.157, allocations: 15.92 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/1.157, allocations: 168.1 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/1.158, allocations: 0.6924 MB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.458e-05/1.158, allocations: 12.55 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/1.158, allocations: 11.44 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/1.158, allocations: 0 / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.002678/1.16, allocations: 452.5 kB / 1.172 GB, free: 13.57 MB / 0.9044 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