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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_10_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.00124/0.00124, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001251/0.001251, allocations: 200 kB / 16.26 MB, free: 6.625 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.229/1.229, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.334/2.334, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 71.88 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4838/0.485, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001816/0.4869, allocations: 0.8899 MB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.496e-05/0.487, allocations: 39.8 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.487, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.4871, allocations: 7.938 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.85e-05/0.4872, allocations: 7.922 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.117e-05/0.4872, allocations: 19.98 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.269e-05/0.4873, allocations: 59.84 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.4874, allocations: 43.97 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.4875, allocations: 31.8 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.4875, allocations: 27.86 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.4875, allocations: 4 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-06/0.4876, allocations: 8 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.4876, allocations: 11.92 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.4876, allocations: 39.73 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.121e-05/0.4877, allocations: 69.97 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4877, allocations: 0 / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4877, allocations: 4 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4877, allocations: 7.984 kB / 1.018 GB, free: 1.438 MB / 0.7637 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.0003311/0.4881, allocations: 375.2 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.4881, allocations: 12.03 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.4881, allocations: 42.67 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.4882, allocations: 12.84 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.4883, allocations: 184.2 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.4884, allocations: 8.375 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.4884, allocations: 4.375 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.4885, allocations: 105.4 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4885, allocations: 3.938 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4885, allocations: 7.984 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.4885, allocations: 3.938 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.474e-05/0.4886, allocations: 31.98 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.489, allocations: 440.6 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.4891, allocations: 33.16 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.4891, allocations: 21.94 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.4892, allocations: 3.938 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.4892, allocations: 38.55 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4892, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001363/0.4893, allocations: 57.48 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.4894, allocations: 77.11 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.4895, allocations: 167 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.4895, allocations: 25.7 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.4896, allocations: 104.2 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-06/0.4896, allocations: 11.91 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.4896, allocations: 13.72 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.4897, allocations: 322.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.4897, allocations: 8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.4897, allocations: 17.7 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.642e-05/0.4898, allocations: 33.66 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4898, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.047e-05/0.4899, allocations: 53.61 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.4899, allocations: 7.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.4899, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.4899, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.569e-05/0.49, allocations: 19.92 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.49, allocations: 3.984 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.49, allocations: 7.844 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-06/0.49, allocations: 8 kB / 1.02 GB, free: 14.94 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/0.4901, allocations: 114.4 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.4901, allocations: 15.84 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.4901, allocations: 7.859 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4902, allocations: 4 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4902, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4902, allocations: 4.078 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.4905, allocations: 474.8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4905, allocations: 3.938 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.4905, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4905, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.4905, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4906, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4906, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.819e-05/0.4906, allocations: 85.83 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.4907, allocations: 92.95 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.4907, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.4907, allocations: 3.984 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.4907, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.4907, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.133e-05/0.4908, allocations: 122.5 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4908, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001785/0.491, allocations: 4 kB / 1.021 GB, free: 13.91 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 (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.0003382/0.4914, allocations: 0.621 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.769e-05/0.4914, allocations: 16 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.4914, allocations: 4.156 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.4915, allocations: 11.94 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.4916, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.4926, allocations: 1.342 MB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.4928, allocations: 0.6962 MB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.4929, allocations: 8.422 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.4929, allocations: 23.44 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.4929, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01141/0.5043, allocations: 1.46 MB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.5045, allocations: 212.9 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.008, allocations: 3.938 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > 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/jenkins1/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