Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001855/0.001855, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001632/0.001632, allocations: 215.5 kB / 22.26 MB, free: 5.082 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.329/1.329, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.946/2.946, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_m_flow,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001866/0.001866, allocations: 68.02 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2986, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002056/0.3006, allocations: 1.29 MB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008999/0.3015, allocations: 0.5881 MB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.3016, allocations: 0 / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.3016, allocations: 3.984 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.126e-05/0.3016, allocations: 0 / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.302, allocations: 137.3 kB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.256e-05/0.3021, allocations: 11.92 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.3021, allocations: 4 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.482e-05/0.3021, allocations: 4 kB / 1.355 GB, free: 6.422 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.842e-05/0.3022, allocations: 11.92 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.3022, allocations: 0 / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.3027, allocations: 339.3 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.3027, allocations: 4 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.3027, allocations: 4 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3029, allocations: 151.8 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3029, allocations: 4 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3029, allocations: 0 / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3029, allocations: 0 / 1.355 GB, free: 5.918 MB / 1.045 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.0003405/0.3033, allocations: 278 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3033, allocations: 8.031 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.3033, allocations: 34.75 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.742e-05/0.3033, allocations: 0.9375 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.618e-05/0.3034, allocations: 110.5 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-06/0.3034, allocations: 8.312 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.3035, allocations: 4.375 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.192e-05/0.3035, allocations: 30.27 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.3035, allocations: 3.938 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.3036, allocations: 0 / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3036, allocations: 0 / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.3036, allocations: 11.88 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.3037, allocations: 120.8 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.103e-05/0.3038, allocations: 30.61 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.3038, allocations: 4.859 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.3038, allocations: 0 / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3038, allocations: 38.61 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 2.375e-06/0.3038, allocations: 3.984 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001275/0.304, allocations: 45.58 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.304, allocations: 51.41 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.906e-05/0.3041, allocations: 97.98 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.3041, allocations: 25.7 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.3041, allocations: 84.12 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3041, allocations: 7.953 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.3041, allocations: 13.72 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3043, allocations: 310.8 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.3043, allocations: 4 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.035e-05/0.3043, allocations: 8.125 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.3043, allocations: 8.859 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3043, allocations: 0 / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.992e-05/0.3044, allocations: 49.62 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.3044, allocations: 7.938 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.3044, allocations: 0 / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3044, allocations: 4 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3045, allocations: 11.98 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003521/0.3049, allocations: 0.5861 MB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.3049, allocations: 0 / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3049, allocations: 4.031 kB / 1.357 GB, free: 3.719 MB / 1.045 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 6.996e-05/0.305, allocations: 110.4 kB / 1.357 GB, free: 3.602 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-06/0.305, allocations: 3.938 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.967e-05/0.3051, allocations: 49.09 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3051, allocations: 0 / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3051, allocations: 4 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3051, allocations: 0 / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.347e-05/0.3052, allocations: 124.7 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3052, allocations: 4 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.3052, allocations: 4 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3052, allocations: 11.88 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3053, allocations: 3.984 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000311/0.3056, allocations: 0.586 MB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3056, allocations: 3.938 kB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.801e-05/0.3056, allocations: 61.12 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.3056, allocations: 7.984 kB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-06/0.3057, allocations: 0 / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/0.3057, allocations: 4 kB / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.3057, allocations: 8.062 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.3057, allocations: 0 / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.3057, allocations: 79.28 kB / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3057, allocations: 0 / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001828/0.3059, allocations: 11.94 kB / 1.358 GB, free: 2.555 MB / 1.045 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.00039/0.3063, allocations: 0.6086 MB / 1.359 GB, free: 1.914 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.3064, allocations: 23.98 kB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3064, allocations: 0 / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.956e-05/0.3065, allocations: 15.92 kB / 1.359 GB, free: 1.875 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.3066, allocations: 9.812 kB / 1.359 GB, free: 1.867 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.307, allocations: 132 kB / 1.359 GB, free: 1.695 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.3073, allocations: 0.6729 MB / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.19e-05/0.3073, allocations: 0 / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.3073, allocations: 7.438 kB / 1.36 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3073, allocations: 0 / 1.36 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.3329, allocations: 1.407 MB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.29, allocations: 6.672 kB / 1.361 GB, free: 15.75 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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: 17.35574657899997]