Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001596/0.001596, allocations: 108 kB / 15.6 MB, free: 132 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.001893/0.001893, allocations: 195 kB / 16.53 MB, free: 6.391 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.639/2.639, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 67.89 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5897/0.5911, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002559/0.5937, allocations: 1.263 MB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009571/0.5947, allocations: 0.5877 MB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.5948, allocations: 0 / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.5948, allocations: 0 / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/0.5949, allocations: 3.984 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.5955, allocations: 138 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.271e-05/0.5956, allocations: 15.92 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.5956, allocations: 0 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.021e-05/0.5957, allocations: 4 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.5957, allocations: 7.938 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.5957, allocations: 4 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005563/0.5963, allocations: 343.3 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.5963, allocations: 7.984 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.5964, allocations: 0 / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.5966, allocations: 145.9 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5967, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5967, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.5967, allocations: 0 / 1.02 GB, free: 15.96 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003909/0.5971, allocations: 347.4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.5971, allocations: 16.03 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.5972, allocations: 30.75 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.5972, allocations: 4.938 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.5973, allocations: 160.4 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.5973, allocations: 4.375 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.5973, allocations: 4.359 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.481e-05/0.5974, allocations: 34.2 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5974, allocations: 3.938 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.5974, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5975, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.013e-05/0.5975, allocations: 15.92 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.5976, allocations: 149.7 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.868e-05/0.5977, allocations: 30.55 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.5977, allocations: 4.859 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.5977, allocations: 4.062 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.5978, allocations: 34.5 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5978, allocations: 4 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.5979, allocations: 45.62 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.598, allocations: 51.41 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.928e-05/0.598, allocations: 93.86 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.5981, allocations: 25.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.5981, allocations: 80.14 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.5981, allocations: 15.84 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.5982, allocations: 17.95 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.5982, allocations: 310.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.5983, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-06/0.5983, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.5983, allocations: 20.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5983, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.543e-05/0.5984, allocations: 45.69 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5984, allocations: 7.938 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5984, allocations: 4.094 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5984, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.5986, allocations: 8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003674/0.599, allocations: 0.5898 MB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.599, allocations: 4.031 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.599, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.5991, allocations: 113.9 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.5991, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.5992, allocations: 44.81 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5993, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5993, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.5993, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.5994, allocations: 161.6 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5994, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-05/0.5995, allocations: 11.94 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5995, allocations: 4.031 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.5995, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003014/0.5998, allocations: 0.586 MB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5998, allocations: 3.938 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.218e-05/0.5999, allocations: 61.27 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.6, allocations: 88.95 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.6, allocations: 7.922 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.482e-05/0.6, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.6, allocations: 3.938 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.6, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.6001, allocations: 83.28 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6001, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002075/0.6003, allocations: 8 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000416/0.6007, allocations: 0.6106 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.6009, allocations: 27.92 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.6009, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.103e-05/0.601, allocations: 12.09 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.6012, allocations: 14.08 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.6017, allocations: 135.8 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.602, allocations: 0.669 MB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.907e-05/0.602, allocations: 4 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.602, allocations: 7.438 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.602, allocations: 4.062 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.6196, allocations: 1.321 MB / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.33, allocations: 12.25 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches