Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001345/0.001345, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001537/0.001537, allocations: 217.3 kB / 22.25 MB, free: 4.852 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.759/2.759, allocations: 476 MB / 0.7699 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_11_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.002139/0.002139, allocations: 66.92 kB / 1.117 GB, free: 40.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4024, allocations: 170 MB / 1.283 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002671/0.4051, allocations: 1.304 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4062, allocations: 0.5273 MB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.4063, allocations: 0 / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.4063, allocations: 7.938 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.939e-05/0.4063, allocations: 0 / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.407, allocations: 147.4 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.001e-05/0.407, allocations: 23.86 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.566e-05/0.4071, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.4071, allocations: 11.94 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.4072, allocations: 7.984 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.4072, allocations: 4 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/0.4076, allocations: 271.5 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.4077, allocations: 3.938 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.4077, allocations: 8 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.408, allocations: 144.8 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.408, allocations: 0 / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.274e-06/0.408, allocations: 0 / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.408, allocations: 0 / 1.285 GB, free: 9.773 MB / 0.9825 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.0005707/0.4086, allocations: 286 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4086, allocations: 12.03 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.4086, allocations: 30.75 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.4087, allocations: 4.891 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.4088, allocations: 110.5 kB / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4088, allocations: 384 / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.4088, allocations: 384 / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.4089, allocations: 50.19 kB / 1.285 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4089, allocations: 7.938 kB / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.409, allocations: 0 / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.409, allocations: 4 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.409, allocations: 19.92 kB / 1.285 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.4094, allocations: 220 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.4096, allocations: 58.55 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.4096, allocations: 8.859 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.4097, allocations: 4 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.4097, allocations: 34.56 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4097, allocations: 0 / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001883/0.4099, allocations: 61.58 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4099, allocations: 55.39 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.41, allocations: 97.86 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.41, allocations: 25.7 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.4101, allocations: 80.14 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.4101, allocations: 27.83 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.4102, allocations: 17.72 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4103, allocations: 314.8 kB / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.4103, allocations: 4 kB / 1.286 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.4104, allocations: 25.7 kB / 1.286 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.118e-05/0.4104, allocations: 33.66 kB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4104, allocations: 3.938 kB / 1.286 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001025/0.4105, allocations: 53.62 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4106, allocations: 8 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4106, allocations: 4.031 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4106, allocations: 0 / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.408e-05/0.4106, allocations: 11.98 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4106, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.4107, allocations: 7.953 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.4107, allocations: 4 kB / 1.287 GB, free: 7.914 MB / 0.9825 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.984e-05/0.4108, allocations: 109.8 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.4108, allocations: 4 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.4109, allocations: 61.31 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4109, allocations: 3.984 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4109, allocations: 4 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4109, allocations: 3.938 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.4111, allocations: 128.7 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4111, allocations: 0 / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.4112, allocations: 11.98 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4112, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.4112, allocations: 480 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4112, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4112, allocations: 128 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.4113, allocations: 155.5 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.4113, allocations: 11.89 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.4113, allocations: 4 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.75e-05/0.4114, allocations: 3.938 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.4114, allocations: 7.984 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.4114, allocations: 0 / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.4115, allocations: 83.28 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4115, allocations: 0 / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002508/0.4117, allocations: 19.88 kB / 1.287 GB, free: 7.238 MB / 0.9825 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.0005445/0.4123, allocations: 0.6967 MB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.4124, allocations: 27.92 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4124, allocations: 4.062 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.4124, allocations: 11.98 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.4126, allocations: 4 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.4131, allocations: 162.6 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.263e-05/0.4132, allocations: 63.34 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.4132, allocations: 7.984 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.4132, allocations: 11.44 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.4132, allocations: 0 / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.445, allocations: 1.874 MB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.04, allocations: 16.22 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv. Warning: Get data of variable m_flow_nominal from file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.188560616690665]