Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001312/0.001312, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001711/0.001711, allocations: 215.5 kB / 22.24 MB, free: 5.258 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.824 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.037/3.037, allocations: 0.49 GB / 0.7951 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.InverseFlowFunctions,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_12_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.001972/0.001972, allocations: 70.92 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3266, allocations: 176.1 MB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002493/0.3291, allocations: 1.313 MB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3302, allocations: 0.5177 MB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.3302, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.3302, allocations: 7.922 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.388e-05/0.3302, allocations: 7.922 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.3308, allocations: 135.5 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.738e-05/0.3308, allocations: 19.88 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.3309, allocations: 3.984 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.3309, allocations: 15.94 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.3309, allocations: 15.97 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.331, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.3314, allocations: 275.5 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.3314, allocations: 4 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.3314, allocations: 11.91 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.3317, allocations: 139.8 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.257e-06/0.3317, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3317, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3317, allocations: 0 / 1.328 GB, free: 15.1 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004421/0.3321, allocations: 291.8 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3322, allocations: 12.03 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.3322, allocations: 38.73 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.3322, allocations: 0.9375 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3324, allocations: 110.5 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3324, allocations: 4.375 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.3324, allocations: 384 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.3325, allocations: 46.19 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3325, allocations: 3.938 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.3325, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3325, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.3325, allocations: 23.98 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.3329, allocations: 212 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.3331, allocations: 46.56 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.3331, allocations: 24.84 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3331, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3331, allocations: 38.5 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3331, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001936/0.3333, allocations: 61.81 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.3334, allocations: 55.41 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.3335, allocations: 93.86 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.3335, allocations: 37.69 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.3336, allocations: 80.14 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.3336, allocations: 7.906 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.3336, allocations: 17.72 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3337, allocations: 318.8 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.3338, allocations: 8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-05/0.3338, allocations: 25.66 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.066e-05/0.3339, allocations: 25.7 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3339, allocations: 8.062 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.661e-05/0.334, allocations: 65.62 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.334, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.334, allocations: 4 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.334, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.596e-05/0.334, allocations: 8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.334, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.3341, allocations: 7.891 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3341, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 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.624e-05/0.3342, allocations: 113.8 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.3342, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.3343, allocations: 73.31 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3343, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3343, allocations: 7.938 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.3343, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.3345, allocations: 132.7 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3345, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.3345, allocations: 8 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3345, allocations: 0 / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.3345, allocations: 0 / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3345, allocations: 0 / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3345, allocations: 7.938 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.3347, allocations: 155.4 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.3347, allocations: 4 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.3347, allocations: 3.984 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.662e-05/0.3348, allocations: 0 / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.3348, allocations: 8 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.3348, allocations: 0 / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.3348, allocations: 75.61 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3348, allocations: 4 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002428/0.3351, allocations: 23.86 kB / 1.33 GB, free: 12.55 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 (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.0005193/0.3356, allocations: 0.7124 MB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.301e-05/0.3357, allocations: 23.98 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3357, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-05/0.3357, allocations: 8 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.3359, allocations: 4 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.3364, allocations: 166.9 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.64e-05/0.3364, allocations: 55.36 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.3364, allocations: 12.05 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.3365, allocations: 15.44 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3365, allocations: 0 / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.3651, allocations: 1.913 MB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.88, allocations: 11.48 kB / 1.333 GB, free: 9.688 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_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_InverseFlowFunctions.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv. Warning: Get data of variable m_flow_nominal from file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.27573987399228]