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.001306/0.001306, allocations: 104 kB / 16.45 MB, free: 6.449 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.001583/0.001583, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.414/1.414, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] 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 3.068/3.068, allocations: 0.505 GB / 0.8066 GB, free: 23.14 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.001976/0.001976, allocations: 69.38 kB / 1.172 GB, free: 17.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3157, allocations: 180.2 MB / 1.348 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002356/0.318, allocations: 1.308 MB / 1.349 GB, free: 8.809 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.319, allocations: 0.5959 MB / 1.35 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.319, allocations: 0 / 1.35 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.3191, allocations: 0 / 1.35 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.3191, allocations: 3.938 kB / 1.35 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.3196, allocations: 145.6 kB / 1.35 GB, free: 8.066 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.575e-05/0.3197, allocations: 23.91 kB / 1.35 GB, free: 8.043 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.3197, allocations: 0 / 1.35 GB, free: 8.043 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.843e-05/0.3197, allocations: 15.92 kB / 1.35 GB, free: 8.027 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.3198, allocations: 4 kB / 1.35 GB, free: 8.023 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.3198, allocations: 0 / 1.35 GB, free: 8.023 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005129/0.3203, allocations: 343.3 kB / 1.35 GB, free: 7.688 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.3203, allocations: 7.938 kB / 1.35 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.3204, allocations: 7.984 kB / 1.35 GB, free: 7.672 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3206, allocations: 151.8 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3206, allocations: 4 kB / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3206, allocations: 0 / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3206, allocations: 3.938 kB / 1.35 GB, free: 7.516 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.0004745/0.3211, allocations: 367 kB / 1.351 GB, free: 7.105 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3211, allocations: 11.98 kB / 1.351 GB, free: 7.094 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.3212, allocations: 34.75 kB / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.3212, allocations: 4.938 kB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3213, allocations: 168.3 kB / 1.351 GB, free: 6.844 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.3213, allocations: 4.375 kB / 1.351 GB, free: 6.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.3214, allocations: 4.375 kB / 1.351 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.3215, allocations: 42.19 kB / 1.351 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3215, allocations: 3.938 kB / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.3215, allocations: 0 / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3215, allocations: 4 kB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.997e-05/0.3215, allocations: 15.98 kB / 1.351 GB, free: 6.766 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.3219, allocations: 252.9 kB / 1.351 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.322, allocations: 50.56 kB / 1.351 GB, free: 6.41 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.3221, allocations: 20.86 kB / 1.351 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3221, allocations: 0 / 1.351 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.3221, allocations: 38.55 kB / 1.351 GB, free: 6.34 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 3.196e-06/0.3221, allocations: 3.984 kB / 1.351 GB, free: 6.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000162/0.3223, allocations: 53.69 kB / 1.351 GB, free: 6.277 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.3223, allocations: 55.41 kB / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.3224, allocations: 93.86 kB / 1.351 GB, free: 6.109 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3224, allocations: 25.7 kB / 1.351 GB, free: 6.078 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.3225, allocations: 88.14 kB / 1.352 GB, free: 5.988 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.3225, allocations: 11.89 kB / 1.352 GB, free: 5.977 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.3225, allocations: 17.72 kB / 1.352 GB, free: 5.953 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3227, allocations: 314.8 kB / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.3227, allocations: 15.98 kB / 1.352 GB, free: 5.621 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.763e-05/0.3227, allocations: 17.72 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.3228, allocations: 29.72 kB / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.3228, allocations: 3.938 kB / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.639e-05/0.3229, allocations: 61.58 kB / 1.352 GB, free: 5.492 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3229, allocations: 8 kB / 1.352 GB, free: 5.484 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3229, allocations: 0 / 1.352 GB, free: 5.484 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.3229, allocations: 0 / 1.352 GB, free: 5.484 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.3229, allocations: 16.02 kB / 1.352 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3229, allocations: 3.938 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.323, allocations: 3.938 kB / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.323, allocations: 4 kB / 1.352 GB, free: 5.457 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 7.465e-05/0.3231, allocations: 109.8 kB / 1.352 GB, free: 5.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.3231, allocations: 8 kB / 1.352 GB, free: 5.332 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.3232, allocations: 69.09 kB / 1.352 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3232, allocations: 3.938 kB / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3232, allocations: 4 kB / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3232, allocations: 0 / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.3234, allocations: 161.7 kB / 1.352 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3234, allocations: 4 kB / 1.352 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.3235, allocations: 8 kB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3235, allocations: 0 / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3235, allocations: 0 / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3235, allocations: 0 / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3235, allocations: 0 / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.3236, allocations: 155.4 kB / 1.353 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.3237, allocations: 85.61 kB / 1.353 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.3237, allocations: 0 / 1.353 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.983e-05/0.3237, allocations: 0 / 1.353 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.3237, allocations: 0 / 1.353 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3237, allocations: 4 kB / 1.353 GB, free: 4.75 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.3238, allocations: 83.27 kB / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3238, allocations: 0 / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002445/0.324, allocations: 23.92 kB / 1.353 GB, free: 4.645 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.0005348/0.3246, allocations: 0.7083 MB / 1.353 GB, free: 3.906 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.3247, allocations: 23.98 kB / 1.353 GB, free: 3.883 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3247, allocations: 0 / 1.353 GB, free: 3.883 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.262e-05/0.3247, allocations: 15.94 kB / 1.353 GB, free: 3.867 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.3249, allocations: 1.891 kB / 1.353 GB, free: 3.867 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.3253, allocations: 164.2 kB / 1.354 GB, free: 3.668 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3256, allocations: 0.6768 MB / 1.354 GB, free: 2.965 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.3256, allocations: 7.938 kB / 1.354 GB, free: 2.957 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.3257, allocations: 7.438 kB / 1.354 GB, free: 2.953 MB / 1.045 GB Notification: Performance of SimCode: time 2.61e-07/0.3257, allocations: 0 / 1.354 GB, free: 2.953 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.3513, allocations: 1.417 MB / 1.356 GB, free: 1.672 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.368, allocations: 3.938 kB / 1.356 GB, free: 1.672 MB / 1.045 GB " [Timeout remaining time 292] (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: 14.85484098480083]