Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",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.001487/0.001487, 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.001523/0.001523, allocations: 191.8 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.853/2.853, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 62.38 kB / 0.9086 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2608, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01719/0.278, allocations: 15.04 MB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005657/0.2837, allocations: 3.891 MB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.2841, allocations: 23.88 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.2846, allocations: 182.7 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.2861, allocations: 0.6772 MB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.2873, allocations: 480.6 kB / 1.084 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.2887, allocations: 1.072 MB / 1.085 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.2891, allocations: 285.5 kB / 1.085 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006221/0.2898, allocations: 402.5 kB / 1.086 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.2901, allocations: 266.8 kB / 1.086 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.2902, allocations: 24 kB / 1.086 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.2914, allocations: 0.7134 MB / 1.087 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2915, allocations: 79.61 kB / 1.087 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.2917, allocations: 183 kB / 1.087 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009889/0.2927, allocations: 0.7167 MB / 1.088 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2927, allocations: 0 / 1.088 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2927, allocations: 0 / 1.088 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2927, allocations: 0 / 1.088 GB, free: 6.129 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001165/0.2939, allocations: 0.7396 MB / 1.088 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2939, allocations: 12.03 kB / 1.088 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.294, allocations: 50.73 kB / 1.088 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.2941, allocations: 40.47 kB / 1.088 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000886/0.295, allocations: 0.5015 MB / 1.089 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.295, allocations: 12.33 kB / 1.089 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.2951, allocations: 20 kB / 1.089 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.2955, allocations: 184.1 kB / 1.089 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2955, allocations: 0 / 1.089 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.2955, allocations: 4 kB / 1.089 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.2955, allocations: 8 kB / 1.089 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003596/0.2959, allocations: 143.8 kB / 1.089 GB, free: 4.324 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.2971, allocations: 0.8606 MB / 1.09 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.2974, allocations: 122.6 kB / 1.09 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.2976, allocations: 80.75 kB / 1.09 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003708/0.298, allocations: 336.4 kB / 1.091 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.298, allocations: 34.5 kB / 1.091 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.298, allocations: 0 / 1.091 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0005944/0.2986, allocations: 209.2 kB / 1.091 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.2987, allocations: 59.41 kB / 1.091 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.2991, allocations: 341.7 kB / 1.091 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.2991, allocations: 33.7 kB / 1.091 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.2993, allocations: 196.2 kB / 1.091 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.2993, allocations: 39.41 kB / 1.091 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.2994, allocations: 45.48 kB / 1.091 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2996, allocations: 342.8 kB / 1.092 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.2997, allocations: 52.83 kB / 1.092 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.2999, allocations: 88.23 kB / 1.092 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.3002, allocations: 117.6 kB / 1.092 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3002, allocations: 4 kB / 1.092 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004091/0.3007, allocations: 173.2 kB / 1.092 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3007, allocations: 9.656 kB / 1.092 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3007, allocations: 0 / 1.092 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3007, allocations: 0 / 1.092 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3009, allocations: 27.97 kB / 1.092 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.3009, allocations: 4 kB / 1.092 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.3011, allocations: 23.92 kB / 1.092 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.3011, allocations: 4 kB / 1.092 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002339/0.3013, allocations: 152.1 kB / 1.092 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001718/0.3015, allocations: 92.17 kB / 1.092 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002759/0.3018, allocations: 109.8 kB / 1.093 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.3018, allocations: 7.938 kB / 1.093 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003803/0.3022, allocations: 173.1 kB / 1.093 GB, free: 344 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.3022, allocations: 4 kB / 1.093 GB, free: 340 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3022, allocations: 15.86 kB / 1.093 GB, free: 324 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-06/0.3023, allocations: 0 / 1.093 GB, free: 324 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.3024, allocations: 27.92 kB / 1.093 GB, free: 296 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.3024, allocations: 0 / 1.093 GB, free: 296 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.3026, allocations: 19.97 kB / 1.093 GB, free: 276 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3026, allocations: 8.125 kB / 1.093 GB, free: 268 kB / 0.8419 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 (12): * Single equations (assignments): 12 * 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 0.0001151/0.3027, allocations: 184.8 kB / 1.093 GB, free: 76 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.3028, allocations: 39.56 kB / 1.093 GB, free: 36 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.3034, allocations: 239.1 kB / 1.093 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3034, allocations: 4 kB / 1.093 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3034, allocations: 0 / 1.093 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3034, allocations: 3.984 kB / 1.093 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009446/0.3043, allocations: 0.6301 MB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3044, allocations: 4 kB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.3045, allocations: 28.08 kB / 1.094 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3045, allocations: 0 / 1.094 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3045, allocations: 4 kB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3045, allocations: 0 / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3045, allocations: 0 / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.305, allocations: 322.5 kB / 1.094 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.3052, allocations: 124.6 kB / 1.094 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.3052, allocations: 11.98 kB / 1.094 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.3054, allocations: 11.98 kB / 1.094 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.3055, allocations: 11.98 kB / 1.094 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3055, allocations: 4 kB / 1.094 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002812/0.3058, allocations: 259 kB / 1.095 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3058, allocations: 0 / 1.095 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006054/0.3064, allocations: 191.6 kB / 1.095 GB, free: 14.1 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001228/0.3076, allocations: 0.9869 MB / 1.096 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005486/0.3082, allocations: 201.8 kB / 1.096 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3082, allocations: 0 / 1.096 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.3084, allocations: 75.89 kB / 1.096 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008596/0.3093, allocations: 147.5 kB / 1.096 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/0.3129, allocations: 2.757 MB / 1.099 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.3133, allocations: 0.7918 MB / 1.1 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002626/0.3136, allocations: 79.03 kB / 1.1 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.3138, allocations: 107.4 kB / 1.1 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.3138, allocations: 0 / 1.1 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.3488, allocations: 9.986 MB / 1.11 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.171, allocations: 16.64 kB / 1.11 GB, free: 15 MB / 0.8731 GB (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_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_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches