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.001789/0.001789, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002168/0.002168, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.088/3.088, allocations: 0.49 GB / 0.7916 GB, free: 33.55 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.001983/0.001983, allocations: 68.09 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3163, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002412/0.3187, allocations: 1.301 MB / 1.322 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009812/0.3197, allocations: 0.592 MB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.3197, allocations: 0 / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.3198, allocations: 3.938 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.3198, allocations: 3.938 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.3203, allocations: 149.7 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.131e-05/0.3204, allocations: 23.81 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.3204, allocations: 0 / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.292e-05/0.3205, allocations: 11.98 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.3205, allocations: 7.938 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3205, allocations: 0 / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005369/0.3211, allocations: 347.3 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.3211, allocations: 0 / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.3211, allocations: 15.92 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.3214, allocations: 139.9 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3214, allocations: 11.88 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3214, allocations: 0 / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.3214, allocations: 0 / 1.323 GB, free: 0.7578 MB / 1.014 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.00052/0.3219, allocations: 363.1 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3219, allocations: 11.98 kB / 1.324 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.322, allocations: 34.75 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.322, allocations: 0.9375 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3221, allocations: 164.3 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3222, allocations: 4.375 kB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.3222, allocations: 8.375 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.3223, allocations: 42.25 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3223, allocations: 3.938 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3223, allocations: 0 / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3223, allocations: 0 / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.353e-05/0.3224, allocations: 19.92 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.3228, allocations: 245 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.323, allocations: 54.56 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.323, allocations: 20.84 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.323, allocations: 3.984 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3231, allocations: 34.56 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3231, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001983/0.3233, allocations: 61.58 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3233, allocations: 55.41 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.3234, allocations: 97.86 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3234, allocations: 25.7 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.3235, allocations: 80.14 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.3235, allocations: 19.89 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.3235, allocations: 21.66 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3237, allocations: 310.8 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.3237, allocations: 7.984 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/0.3237, allocations: 29.66 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.479e-05/0.3238, allocations: 29.66 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3238, allocations: 3.938 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.65e-05/0.3239, allocations: 61.58 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3239, allocations: 4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3239, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3239, allocations: 7.984 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.324, allocations: 4 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.324, allocations: 8.031 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.324, allocations: 7.938 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.324, allocations: 0 / 1.325 GB, free: 14.7 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.402e-05/0.3241, allocations: 113.8 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.3241, allocations: 0 / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.3243, allocations: 69.09 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3243, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3243, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3243, allocations: 4 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.3244, allocations: 161.6 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3244, allocations: 0 / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.3245, allocations: 8 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3245, allocations: 0 / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3245, allocations: 4 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3245, allocations: 0 / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3245, allocations: 0 / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.3246, allocations: 155.9 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.3247, allocations: 85.12 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.3247, allocations: 3.938 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.907e-05/0.3247, allocations: 128 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.3247, allocations: 4 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.3247, allocations: 4 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.3248, allocations: 79.28 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3248, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002409/0.325, allocations: 23.92 kB / 1.326 GB, free: 13.9 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.0005115/0.3255, allocations: 0.7084 MB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.607e-05/0.3256, allocations: 31.86 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3256, allocations: 0 / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.187e-05/0.3257, allocations: 12 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.3259, allocations: 3.938 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.3263, allocations: 172.1 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.3266, allocations: 0.6768 MB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.3266, allocations: 4 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.3266, allocations: 7.438 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3266, allocations: 0 / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.351, allocations: 1.411 MB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.105, allocations: 15.67 kB / 1.329 GB, free: 10.91 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.503134066006169]