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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005175/0.005175, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001442/0.001442, allocations: 197.1 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.682/2.682, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001756, allocations: 64.36 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2702, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001863/0.2721, allocations: 0.8233 MB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/0.2722, allocations: 39.78 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.2722, allocations: 0 / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.2723, allocations: 7.875 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.864e-05/0.2724, allocations: 15.86 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.036e-05/0.2724, allocations: 19.92 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.579e-05/0.2725, allocations: 59.84 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2726, allocations: 55.84 kB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.24e-05/0.2727, allocations: 27.86 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.2727, allocations: 31.8 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.2728, allocations: 4 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.2728, allocations: 12 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.2728, allocations: 11.92 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.2729, allocations: 39.73 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.273, allocations: 75.64 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.273, allocations: 0 / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.273, allocations: 0 / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.273, allocations: 0 / 1.221 GB, free: 13.06 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.000392/0.2734, allocations: 375.2 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2734, allocations: 12.02 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.2735, allocations: 42.75 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.2735, allocations: 16.78 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.2737, allocations: 188.2 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2737, allocations: 8.375 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.2737, allocations: 4.375 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.2739, allocations: 101.7 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2739, allocations: 3.938 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.2739, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.2739, allocations: 8 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.689e-05/0.274, allocations: 31.98 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.2745, allocations: 440.7 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.287e-05/0.2745, allocations: 37.2 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.2746, allocations: 21.78 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.2746, allocations: 96 / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.2746, allocations: 38.5 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2746, allocations: 0 / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001443/0.2748, allocations: 57.52 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.2748, allocations: 77.36 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.275, allocations: 168 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.275, allocations: 25.7 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.2751, allocations: 96.09 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.2751, allocations: 15.94 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.2751, allocations: 17.61 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2753, allocations: 318.8 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.2753, allocations: 15.92 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.2753, allocations: 17.72 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/0.2754, allocations: 33.66 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2754, allocations: 0 / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.226e-05/0.2754, allocations: 57.64 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2755, allocations: 7.938 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.2755, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.2755, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.95e-05/0.2755, allocations: 16 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.2756, allocations: 0 / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.2756, allocations: 7.938 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.2756, allocations: 4 kB / 1.224 GB, free: 10.57 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 7.168e-05/0.2757, allocations: 109.8 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.2757, allocations: 15.88 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.2757, allocations: 11.88 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2757, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.2758, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2758, allocations: 4 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.2761, allocations: 474.7 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2762, allocations: 0 / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.2762, allocations: 4 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2762, allocations: 0 / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.2762, allocations: 3.984 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.2762, allocations: 4 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2762, allocations: 4.047 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.268e-05/0.2763, allocations: 85.91 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.2764, allocations: 93.05 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.2764, allocations: 0 / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.801e-05/0.2764, allocations: 0 / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-06/0.2764, allocations: 0 / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.2764, allocations: 8.031 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.561e-05/0.2765, allocations: 122.9 kB / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2765, allocations: 0 / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001737/0.2767, allocations: 8 kB / 1.224 GB, free: 9.527 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.0003726/0.2771, allocations: 0.6215 MB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.05e-05/0.2771, allocations: 16 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2772, allocations: 0 / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.2772, allocations: 11.92 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.2773, allocations: 8 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.2784, allocations: 1.334 MB / 1.226 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.2787, allocations: 0.6889 MB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.2787, allocations: 8.422 kB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.2788, allocations: 23.44 kB / 1.227 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.2788, allocations: 0 / 1.227 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8204/1.099, allocations: 1.572 MB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.331/10.43, allocations: 18.44 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > 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/jenkins1/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