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.001661/0.001661, 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.002257/0.002257, allocations: 221.2 kB / 22.26 MB, free: 5.125 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.992 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.793/2.793, allocations: 476.7 MB / 0.7707 GB, free: 4.238 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.002083/0.002083, allocations: 69.58 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4124, allocations: 169.9 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002601/0.415, allocations: 1.322 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.4161, allocations: 0.6051 MB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.4162, allocations: 3.938 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.4162, allocations: 0 / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.635e-05/0.4162, allocations: 3.938 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.4168, allocations: 144.1 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.8e-05/0.4168, allocations: 23.92 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.4169, allocations: 3.984 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.4169, allocations: 8 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.417, allocations: 11.92 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.417, allocations: 0 / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005612/0.4176, allocations: 343.3 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.4176, allocations: 7.984 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.4176, allocations: 11.94 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.4179, allocations: 147 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4179, allocations: 0 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4179, allocations: 0 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.4179, allocations: 4 kB / 1.286 GB, free: 9.16 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.0004792/0.4184, allocations: 286 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4184, allocations: 12.03 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.4184, allocations: 30.75 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.4185, allocations: 0.9375 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.4186, allocations: 106.5 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.4186, allocations: 384 / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.4186, allocations: 8.312 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.4187, allocations: 46.25 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4187, allocations: 3.938 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.4187, allocations: 0 / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4187, allocations: 0 / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.015e-05/0.4188, allocations: 19.98 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.4191, allocations: 220 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.4193, allocations: 58.48 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/0.4194, allocations: 16.92 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.4194, allocations: 3.984 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.4194, allocations: 34.56 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4194, allocations: 0 / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001779/0.4196, allocations: 61.58 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.4196, allocations: 51.41 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.4197, allocations: 93.86 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.4197, allocations: 33.64 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.4198, allocations: 84.14 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.4198, allocations: 19.83 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.4198, allocations: 21.66 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.42, allocations: 314.8 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.42, allocations: 11.98 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/0.42, allocations: 17.72 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.098e-05/0.4201, allocations: 33.72 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4201, allocations: 3.938 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.968e-05/0.4202, allocations: 53.62 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4202, allocations: 8 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4202, allocations: 0 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4202, allocations: 3.984 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.4203, allocations: 12 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4203, allocations: 0 / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.4203, allocations: 8.109 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4203, allocations: 8 kB / 1.288 GB, free: 7.301 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.57e-05/0.4204, allocations: 113.7 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.4204, allocations: 4 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.4206, allocations: 65.34 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4206, allocations: 4 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4206, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.4206, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.4207, allocations: 128.7 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4207, allocations: 4 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.4208, allocations: 8 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.4208, allocations: 0 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.4208, allocations: 0 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4208, allocations: 0 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4208, allocations: 480 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.4209, allocations: 159.4 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.4209, allocations: 7.984 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.4209, allocations: 4 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.875e-05/0.421, allocations: 3.938 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.421, allocations: 0 / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.421, allocations: 4 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.4211, allocations: 79.28 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4211, allocations: 0 / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000244/0.4213, allocations: 27.86 kB / 1.288 GB, free: 6.625 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.0005126/0.4218, allocations: 0.6967 MB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.4219, allocations: 23.98 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.4219, allocations: 0 / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.4219, allocations: 15.94 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.4221, allocations: 5.484 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.4226, allocations: 168.5 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.4229, allocations: 0.6807 MB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.4229, allocations: 0 / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.423, allocations: 11.44 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.423, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.4517, allocations: 1.51 MB / 1.291 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.27, allocations: 2.562 kB / 1.291 GB, free: 3.555 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.299336140999003]