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.001976/0.001976, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002261/0.002261, allocations: 192.3 kB / 16.67 MB, free: 6.574 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.359 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.834/2.834, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.91 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2768, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001954/0.2788, allocations: 0.8272 MB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000111/0.2789, allocations: 39.78 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.279, allocations: 0 / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.649e-05/0.279, allocations: 11.86 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.2791, allocations: 15.88 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.978e-05/0.2792, allocations: 15.98 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.2793, allocations: 63.77 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2794, allocations: 51.86 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.512e-05/0.2795, allocations: 31.86 kB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.2796, allocations: 27.84 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.2796, allocations: 4 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.2796, allocations: 12 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.2796, allocations: 11.92 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.2797, allocations: 35.75 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.2798, allocations: 79.58 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2798, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2798, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.2798, allocations: 0 / 1.221 GB, free: 13.09 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.0004277/0.2802, allocations: 379.1 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2803, allocations: 8.031 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.2803, allocations: 46.73 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.2804, allocations: 12.84 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.2806, allocations: 188.2 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2806, allocations: 8.375 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.2806, allocations: 8.375 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.2808, allocations: 93.73 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2808, allocations: 3.938 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2808, allocations: 11.92 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2808, allocations: 8 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.506e-05/0.2809, allocations: 35.92 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.2814, allocations: 432.7 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.188e-05/0.2815, allocations: 37.34 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.2815, allocations: 21.78 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.2816, allocations: 0 / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.2816, allocations: 38.55 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2816, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000156/0.2818, allocations: 53.53 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.2818, allocations: 81.36 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.282, allocations: 164.8 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.282, allocations: 25.7 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.2821, allocations: 104.1 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.2821, allocations: 11.95 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.2821, allocations: 17.67 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2823, allocations: 318.8 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.2823, allocations: 15.94 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.2823, allocations: 21.66 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.2824, allocations: 29.7 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2824, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.618e-05/0.2825, allocations: 57.59 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2825, allocations: 7.938 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2825, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2825, allocations: 4 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.2826, allocations: 12.05 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.2826, allocations: 3.984 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.2826, allocations: 11.94 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.2827, allocations: 0 / 1.224 GB, free: 10.59 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 8.291e-05/0.2827, allocations: 113.8 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.2828, allocations: 11.89 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.2828, allocations: 11.95 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2828, allocations: 3.984 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.2828, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.2828, allocations: 7.938 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.2833, allocations: 470.8 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2833, allocations: 0 / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.2833, allocations: 7.938 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2833, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.2833, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2833, allocations: 7.938 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2833, allocations: 4.062 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.127e-05/0.2834, allocations: 77.88 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.2835, allocations: 89.06 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.2835, allocations: 0 / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.26e-05/0.2836, allocations: 3.984 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.2836, allocations: 4 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.2836, allocations: 4.031 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001011/0.2837, allocations: 125 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2837, allocations: 0 / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001919/0.2839, allocations: 8 kB / 1.224 GB, free: 9.551 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.0004007/0.2843, allocations: 0.6138 MB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.838e-05/0.2844, allocations: 19.94 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.2844, allocations: 0 / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.2844, allocations: 11.94 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.2846, allocations: 6.062 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.2858, allocations: 1.339 MB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2861, allocations: 0.6928 MB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.808e-05/0.2862, allocations: 4.438 kB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.2862, allocations: 27.42 kB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2862, allocations: 0 / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.3077, allocations: 1.572 MB / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.882, allocations: 7.922 kB / 1.229 GB, free: 5.203 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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