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.001315/0.001314, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001783/0.001783, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.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.811/2.811, allocations: 437.7 MB / 0.7117 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005259, allocations: 11.94 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9163/0.9169, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001089/0.918, allocations: 0.52 MB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001072/0.9182, allocations: 35.8 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.9182, allocations: 8 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.9183, allocations: 7.922 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.93e-05/0.9183, allocations: 11.92 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.091e-05/0.9184, allocations: 15.92 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.9185, allocations: 55.84 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.9186, allocations: 40.09 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.9187, allocations: 19.86 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.9188, allocations: 15.88 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.9188, allocations: 0 / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.066e-06/0.9188, allocations: 0 / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.9188, allocations: 15.92 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.9189, allocations: 33.64 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.286e-05/0.919, allocations: 55.88 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.919, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.823e-06/0.919, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.919, allocations: 4 kB / 1.023 GB, free: 15.2 MB / 0.7794 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.0004377/0.9194, allocations: 369 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.9195, allocations: 8.031 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.9195, allocations: 7.906 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.9198, allocations: 194.9 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.9198, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.9198, allocations: 12 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.92, allocations: 97.12 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.92, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.9201, allocations: 4 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.9201, allocations: 4 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.998e-05/0.9202, allocations: 39.91 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.9207, allocations: 440.6 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.414e-05/0.9208, allocations: 37.34 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.9208, allocations: 17.78 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.9208, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.9209, allocations: 38.56 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.9209, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001667/0.921, allocations: 57.48 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.9211, allocations: 81.11 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.9212, allocations: 168.5 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.9213, allocations: 29.64 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.9213, allocations: 104 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.317e-06/0.9213, allocations: 8.094 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.9214, allocations: 8 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9215, allocations: 318.8 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.9215, allocations: 4 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.9215, allocations: 21.66 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.101e-05/0.9216, allocations: 8 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.9216, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.971e-05/0.9216, allocations: 65.53 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.9217, allocations: 4 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.9217, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.9217, allocations: 3.953 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.417e-05/0.9218, allocations: 8 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.9218, allocations: 0 / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.9218, allocations: 8 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.9218, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/0.9219, allocations: 117.8 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.9219, allocations: 15.95 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.922, allocations: 7.875 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.922, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.922, allocations: 3.953 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.922, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.9224, allocations: 470.7 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9224, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.9224, allocations: 8 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.9224, allocations: 8.016 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.9224, allocations: 3.984 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.9224, allocations: 7.938 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9224, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.049e-05/0.9225, allocations: 69.91 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.9226, allocations: 93 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.9226, allocations: 7.984 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.822e-05/0.9226, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.9226, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.9226, allocations: 7.938 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.752e-05/0.9227, allocations: 115.2 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9227, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001781/0.9229, allocations: 11.94 kB / 1.026 GB, free: 11.78 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001121/0.923, allocations: 103.2 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.425e-05/0.9231, allocations: 23.92 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9231, allocations: 0 / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.114e-05/0.9231, allocations: 4 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.9233, allocations: 8 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.9236, allocations: 190.7 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.9239, allocations: 0.6887 MB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.827e-05/0.9239, allocations: 8.422 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.924, allocations: 19.38 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.924, allocations: 0 / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.002414/0.9264, allocations: 419.9 kB / 1.028 GB, free: 10.26 MB / 0.7794 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