Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 191.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.867/2.867, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 70.17 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2757, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002614/0.2784, allocations: 1.257 MB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2794, allocations: 0.5895 MB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.2795, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.2795, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/0.2796, allocations: 3.938 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.2801, allocations: 139.9 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.972e-05/0.2802, allocations: 8 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.2802, allocations: 7.938 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.128e-05/0.2803, allocations: 8 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.2803, allocations: 11.91 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.2803, allocations: 0 / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.2809, allocations: 339.4 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.2809, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.2809, allocations: 11.92 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.2812, allocations: 139.9 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2812, allocations: 0 / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2812, allocations: 0 / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2812, allocations: 4 kB / 1.067 GB, free: 11.69 MB / 0.8262 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.0004213/0.2817, allocations: 351.5 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2817, allocations: 8.031 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.2818, allocations: 30.75 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.2818, allocations: 8.859 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.2819, allocations: 164.4 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2819, allocations: 384 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.282, allocations: 384 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.585e-05/0.2821, allocations: 34.25 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2821, allocations: 7.938 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.2821, allocations: 3.938 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2821, allocations: 0 / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.2821, allocations: 11.98 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.2823, allocations: 149.6 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.301e-05/0.2824, allocations: 30.52 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.2824, allocations: 8.844 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.2824, allocations: 8.062 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.2825, allocations: 30.56 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2825, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.2826, allocations: 41.64 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.2827, allocations: 55.34 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.2827, allocations: 97.84 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2828, allocations: 29.7 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.2828, allocations: 84.39 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.2828, allocations: 7.906 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.2829, allocations: 9.719 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.283, allocations: 318.8 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.283, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.2831, allocations: 4 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.044e-05/0.2831, allocations: 12.84 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2831, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.184e-05/0.2832, allocations: 41.77 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2832, allocations: 11.88 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2832, allocations: 0 / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2832, allocations: 0 / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.2834, allocations: 15.98 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004127/0.2838, allocations: 0.5822 MB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.2838, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.2839, allocations: 12.05 kB / 1.069 GB, free: 9.289 MB / 0.8262 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 9.288e-05/0.2839, allocations: 113.8 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.284, allocations: 4 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.2841, allocations: 48.75 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2841, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2841, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2841, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.2842, allocations: 153.6 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2842, allocations: 7.938 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-05/0.2843, allocations: 11.98 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2843, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.2843, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003548/0.2847, allocations: 0.582 MB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.2847, allocations: 3.938 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.785e-05/0.2848, allocations: 73.19 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.2849, allocations: 81.11 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/0.2849, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.415e-05/0.2849, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.2849, allocations: 3.938 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.2849, allocations: 4 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.79e-05/0.285, allocations: 75.28 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.285, allocations: 4.125 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002039/0.2852, allocations: 15.94 kB / 1.07 GB, free: 7.996 MB / 0.8262 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.0004431/0.2856, allocations: 0.6051 MB / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.2858, allocations: 23.98 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2858, allocations: 4.094 kB / 1.07 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.235e-05/0.2859, allocations: 11.98 kB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.2861, allocations: 9.656 kB / 1.07 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.2866, allocations: 147.5 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.2869, allocations: 0.669 MB / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.2869, allocations: 12.05 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.2869, allocations: 8.438 kB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2869, allocations: 0 / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3105, allocations: 1.315 MB / 1.072 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.27, allocations: 14.31 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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_InvertingBasicFlowFunction_dp.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches