Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 218.7 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.151/3.151, allocations: 0.49 GB / 0.7951 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 64.62 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.4002, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002465/0.4026, allocations: 1.278 MB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.4037, allocations: 0.588 MB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.4038, allocations: 4 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.4038, allocations: 3.984 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-05/0.4039, allocations: 3.984 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.4045, allocations: 131.4 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.8e-05/0.4045, allocations: 11.92 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.4046, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.004e-05/0.4046, allocations: 7.938 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.4046, allocations: 8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.4047, allocations: 4 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000568/0.4052, allocations: 343.3 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.4052, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.4053, allocations: 11.94 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.4055, allocations: 131.9 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.4055, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4055, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.4056, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 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.0004465/0.406, allocations: 282 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.406, allocations: 12.03 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.4061, allocations: 30.75 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.4061, allocations: 4.891 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.4062, allocations: 118.5 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.4062, allocations: 384 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.4062, allocations: 384 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.4063, allocations: 30.27 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.4064, allocations: 3.938 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.4064, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.4064, allocations: 3.984 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.75e-05/0.4064, allocations: 11.94 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.4066, allocations: 124.8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.853e-05/0.4067, allocations: 22.61 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.444e-05/0.4067, allocations: 8.922 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.4067, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.4067, allocations: 34.55 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4067, allocations: 7.938 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001688/0.4069, allocations: 49.58 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4069, allocations: 51.41 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/0.407, allocations: 89.86 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.407, allocations: 29.7 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.4071, allocations: 84.12 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.4071, allocations: 7.953 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.4072, allocations: 17.97 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4073, allocations: 310.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.4073, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/0.4073, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.4074, allocations: 16.8 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4074, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.086e-05/0.4074, allocations: 41.69 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4075, allocations: 11.94 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4075, allocations: 4.094 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4075, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.4076, allocations: 15.98 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004291/0.4081, allocations: 0.5821 MB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.4081, allocations: 7.891 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.4081, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 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 9.158e-05/0.4082, allocations: 117.9 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.4082, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.4083, allocations: 45 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.4083, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4083, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4083, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.4084, allocations: 128.7 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4084, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.4085, allocations: 8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4085, allocations: 4.031 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.4085, allocations: 3.984 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003789/0.4089, allocations: 0.5821 MB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4089, allocations: 7.969 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.141e-05/0.409, allocations: 57.23 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.409, allocations: 8.016 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.409, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.365e-05/0.409, allocations: 4 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.409, allocations: 3.938 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.409, allocations: 4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.4091, allocations: 79.22 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4091, allocations: 4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001933/0.4093, allocations: 11.88 kB / 1.331 GB, free: 12.05 MB / 1.029 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.0004664/0.4097, allocations: 0.6196 MB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.4099, allocations: 23.98 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4099, allocations: 4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.539e-05/0.41, allocations: 20.02 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.4101, allocations: 9.562 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.4107, allocations: 135.8 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.411, allocations: 0.6729 MB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.708e-05/0.411, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.411, allocations: 7.438 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4111, allocations: 64 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.44, allocations: 1.382 MB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.34, allocations: 8.125 kB / 1.334 GB, free: 9.223 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.218900335999933]