Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001448/0.001448, allocations: 110.4 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.001307/0.001307, allocations: 218.4 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.323/1.323, allocations: 230.6 MB / 256 MB, free: 7.961 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.95/2.95, allocations: 0.505 GB / 0.8101 GB, free: 21.98 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.InverseFlowFunctions,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.001885/0.001885, allocations: 67.92 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3017, allocations: 180.2 MB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002275/0.304, allocations: 1.314 MB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.305, allocations: 0.5954 MB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.305, allocations: 4 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.305, allocations: 0 / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.716e-05/0.3051, allocations: 3.938 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.3055, allocations: 140.6 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.005e-05/0.3056, allocations: 19.86 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.3056, allocations: 8 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/0.3057, allocations: 11.94 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.849e-05/0.3057, allocations: 7.984 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.3057, allocations: 3.938 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005029/0.3062, allocations: 347.3 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.3062, allocations: 3.984 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.3063, allocations: 7.938 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.3065, allocations: 147.8 kB / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3065, allocations: 0 / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3065, allocations: 0 / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3065, allocations: 0 / 1.355 GB, free: 5.789 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004278/0.307, allocations: 297.9 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.307, allocations: 8.031 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.307, allocations: 38.75 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.3071, allocations: 0.9375 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3072, allocations: 106.5 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3072, allocations: 4.375 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-06/0.3072, allocations: 384 / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.3073, allocations: 42.25 kB / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3073, allocations: 7.938 kB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3073, allocations: 7.984 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3073, allocations: 0 / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.3074, allocations: 23.92 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.3077, allocations: 224 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.3079, allocations: 42.56 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.3079, allocations: 20.86 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3079, allocations: 3.984 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.3079, allocations: 30.56 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3079, allocations: 3.938 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0001668/0.3081, allocations: 57.69 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.3082, allocations: 51.41 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.997e-05/0.3082, allocations: 97.86 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.3082, allocations: 25.7 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.3083, allocations: 88.12 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.3083, allocations: 15.91 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.3083, allocations: 17.66 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3085, allocations: 314.8 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.3085, allocations: 7.984 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/0.3085, allocations: 21.72 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.829e-05/0.3086, allocations: 33.66 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3086, allocations: 3.938 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.952e-05/0.3087, allocations: 61.58 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3087, allocations: 8 kB / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3087, allocations: 7.922 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3087, allocations: 0 / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/0.3087, allocations: 8 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3087, allocations: 0 / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.3088, allocations: 3.938 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3088, allocations: 8.031 kB / 1.357 GB, free: 3.922 MB / 1.045 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 (5): * Single equations (assignments): 5 * 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 8.368e-05/0.3089, allocations: 121.7 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.3089, allocations: 4 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.309, allocations: 61.3 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.309, allocations: 480 / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.309, allocations: 4 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.309, allocations: 0 / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.3092, allocations: 132.6 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3092, allocations: 4 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.3092, allocations: 8 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3092, allocations: 3.984 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.3092, allocations: 0 / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3092, allocations: 0 / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3092, allocations: 0 / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.3093, allocations: 151.5 kB / 1.357 GB, free: 3.367 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.3093, allocations: 11.98 kB / 1.357 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3094, allocations: 4 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.689e-05/0.3094, allocations: 4 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.3094, allocations: 0 / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3094, allocations: 4 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.3095, allocations: 75.28 kB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3095, allocations: 0 / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002341/0.3097, allocations: 27.92 kB / 1.358 GB, free: 3.242 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 (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 Backend phase and start with SimCode phase: time 0.0004822/0.3102, allocations: 0.7006 MB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.782e-05/0.3103, allocations: 23.92 kB / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3103, allocations: 0 / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.3103, allocations: 8 kB / 1.358 GB, free: 2.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.3105, allocations: 13.62 kB / 1.358 GB, free: 2.469 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.3109, allocations: 160.3 kB / 1.358 GB, free: 2.27 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.3112, allocations: 0.6807 MB / 1.359 GB, free: 1.562 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.3112, allocations: 4 kB / 1.359 GB, free: 1.559 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.3112, allocations: 11.44 kB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.3112, allocations: 0 / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.3372, allocations: 1.507 MB / 1.361 GB, free: 180 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.564/9.901, allocations: 17.22 kB / 1.361 GB, free: 168 kB / 1.045 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_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_InverseFlowFunctions.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable m_flow_nominal in file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv. Warning: Get data of variable m_flow_nominal from file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.978208685000027]