Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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.From_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",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.001312/0.001312, allocations: 108 kB / 15.61 MB, free: 152 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.001339/0.001339, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.414/2.414, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4826, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002005/0.4847, allocations: 0.823 MB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001141/0.4848, allocations: 43.78 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.4849, allocations: 4 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.4849, allocations: 7.875 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.485, allocations: 7.922 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.538e-05/0.485, allocations: 23.92 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.4851, allocations: 59.84 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.4853, allocations: 43.97 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.4853, allocations: 19.88 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.4854, allocations: 31.84 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.4854, allocations: 8 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.4854, allocations: 4 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.4854, allocations: 11.94 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.4855, allocations: 43.72 kB / 1.019 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.604e-05/0.4856, allocations: 69.97 kB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.4856, allocations: 0 / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4856, allocations: 7.938 kB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4856, allocations: 0 / 1.019 GB, free: 1.262 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.0003599/0.486, allocations: 383.1 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.486, allocations: 8.031 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.4861, allocations: 38.75 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.4861, allocations: 12.83 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.4863, allocations: 192.2 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.4863, allocations: 4.375 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.4863, allocations: 12.31 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.4864, allocations: 95.86 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4865, allocations: 3.938 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4865, allocations: 4 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4865, allocations: 8 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.042e-05/0.4866, allocations: 39.91 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.487, allocations: 432.6 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.789e-05/0.4871, allocations: 41.19 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.4871, allocations: 17.84 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.4871, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.4872, allocations: 34.56 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.4872, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001557/0.4873, allocations: 61.45 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.4874, allocations: 81.11 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.4875, allocations: 162.2 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.4875, allocations: 29.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.4876, allocations: 104.2 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.4876, allocations: 11.91 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.4877, allocations: 13.72 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.4877, allocations: 322.8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.4878, allocations: 8 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.4878, allocations: 17.66 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/0.4878, allocations: 37.7 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4878, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.933e-05/0.4879, allocations: 53.55 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.488, allocations: 9.5 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.488, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.488, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.488, allocations: 7.984 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.488, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.4881, allocations: 11.91 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.4881, allocations: 0 / 1.021 GB, free: 14.77 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 6.278e-05/0.4882, allocations: 118.9 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.4882, allocations: 15.84 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.4882, allocations: 7.875 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4882, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4883, allocations: 3.984 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4883, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.4886, allocations: 470.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4886, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/0.4886, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4886, allocations: 7.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.4887, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4887, allocations: 3.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4887, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.267e-05/0.4887, allocations: 81.89 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.4888, allocations: 92.95 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.4888, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/0.4888, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.4889, allocations: 7.984 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.4889, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.4889, allocations: 122.3 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4889, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001944/0.4891, allocations: 8 kB / 1.022 GB, free: 13.72 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.0002974/0.4894, allocations: 0.621 MB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.435e-05/0.4895, allocations: 15.94 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4895, allocations: 4.156 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.4896, allocations: 8 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.4897, allocations: 7.938 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009619/0.4907, allocations: 1.322 MB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.4909, allocations: 0.6963 MB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.4909, allocations: 4.438 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.491, allocations: 27.42 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.491, allocations: 4 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.507, allocations: 1.536 MB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/7.128, allocations: 8.469 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches