Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001452/0.001452, 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.001614/0.001614, allocations: 218.2 kB / 22.25 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.32/1.32, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 179] 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 2.91/2.91, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001887/0.001887, allocations: 67.08 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2916, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002232/0.2938, allocations: 1.277 MB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009044/0.2947, allocations: 0.5881 MB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.2947, allocations: 0 / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.268e-05/0.2947, allocations: 0 / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.538e-05/0.2948, allocations: 0 / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.2952, allocations: 135.4 kB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.827e-05/0.2953, allocations: 11.94 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.2953, allocations: 3.984 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.2953, allocations: 8 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.2954, allocations: 11.92 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.2954, allocations: 0 / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004939/0.2959, allocations: 343.3 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.955e-06/0.2959, allocations: 0 / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.2959, allocations: 7.984 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.2961, allocations: 143.8 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2962, allocations: 0 / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2962, allocations: 0 / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2962, allocations: 4 kB / 1.355 GB, free: 5.918 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003556/0.2965, allocations: 286 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2965, allocations: 8.031 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.2966, allocations: 30.75 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.86e-05/0.2966, allocations: 0.9375 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.267e-05/0.2967, allocations: 106.5 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.2967, allocations: 4.312 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.2967, allocations: 4.359 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.286e-05/0.2968, allocations: 38.25 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2968, allocations: 7.875 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.2968, allocations: 4 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.2968, allocations: 3.938 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.415e-05/0.2968, allocations: 8 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.297, allocations: 124.8 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.437e-05/0.297, allocations: 18.61 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.297, allocations: 8.922 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.2971, allocations: 0 / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2971, allocations: 34.56 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.2971, allocations: 0 / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001266/0.2972, allocations: 53.56 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.2972, allocations: 51.41 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.931e-05/0.2973, allocations: 93.86 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.2973, allocations: 25.7 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.2974, allocations: 84.39 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.2974, allocations: 7.953 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.2974, allocations: 13.7 kB / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2975, allocations: 318.8 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.2975, allocations: 0 / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.2976, allocations: 4 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.2976, allocations: 12.8 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2976, allocations: 0 / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.309e-05/0.2976, allocations: 45.75 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2977, allocations: 13.66 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2977, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2977, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.2978, allocations: 8 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003672/0.2982, allocations: 0.5898 MB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.2982, allocations: 0 / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.2982, allocations: 128 / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.2983, allocations: 129.7 kB / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.2983, allocations: 0 / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.223e-05/0.2984, allocations: 45 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2984, allocations: 0 / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2984, allocations: 0 / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.2984, allocations: 0 / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.096e-05/0.2985, allocations: 124.7 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2985, allocations: 32 / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.528e-05/0.2985, allocations: 15.94 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2985, allocations: 3.938 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.2985, allocations: 0 / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003183/0.2989, allocations: 0.586 MB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.2989, allocations: 11.95 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.041e-05/0.2989, allocations: 65.19 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-06/0.2989, allocations: 0 / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.2989, allocations: 0 / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.533e-05/0.299, allocations: 4 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.299, allocations: 11.86 kB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.299, allocations: 4 kB / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.835e-05/0.299, allocations: 75.28 kB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.299, allocations: 0 / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001773/0.2992, allocations: 16.06 kB / 1.358 GB, free: 2.539 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003904/0.2996, allocations: 0.6085 MB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.2997, allocations: 19.92 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2997, allocations: 96 / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.096e-05/0.2998, allocations: 16 kB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.2999, allocations: 7.938 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.3003, allocations: 131.8 kB / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.3006, allocations: 0.6768 MB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.252e-05/0.3006, allocations: 0 / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.3006, allocations: 11.5 kB / 1.36 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.3006, allocations: 0 / 1.36 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.326, allocations: 1.397 MB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.17, allocations: 4 kB / 1.361 GB, free: 15.74 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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_InvertingBasicFlowFunction_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.184570168999926]