Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_10_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.008116/0.008121, allocations: 99.64 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002161/0.002161, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 64.12 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.744/0.7459, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01735/0.7633, allocations: 15.05 MB / 1.181 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005632/0.7689, allocations: 3.892 MB / 1.185 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.7693, allocations: 19.88 kB / 1.185 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.7698, allocations: 182.8 kB / 1.185 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.7713, allocations: 0.689 MB / 1.186 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.7725, allocations: 480.3 kB / 1.186 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.774, allocations: 1.072 MB / 1.187 GB, free: 14.37 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.7745, allocations: 291.1 kB / 1.187 GB, free: 14.08 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.7751, allocations: 402.4 kB / 1.188 GB, free: 13.69 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.7755, allocations: 258.8 kB / 1.188 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.7755, allocations: 28 kB / 1.188 GB, free: 13.41 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.7767, allocations: 0.7173 MB / 1.189 GB, free: 12.69 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.7768, allocations: 79.61 kB / 1.189 GB, free: 12.61 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.7771, allocations: 187 kB / 1.189 GB, free: 12.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.7781, allocations: 0.7188 MB / 1.19 GB, free: 11.71 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7782, allocations: 0 / 1.19 GB, free: 11.71 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7782, allocations: 0 / 1.19 GB, free: 11.71 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.7782, allocations: 3.984 kB / 1.19 GB, free: 11.7 MB / 0.92 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.001204/0.7794, allocations: 0.7621 MB / 1.19 GB, free: 10.89 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.7794, allocations: 8.922 kB / 1.19 GB, free: 10.88 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.229e-05/0.7795, allocations: 58.67 kB / 1.19 GB, free: 10.81 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.413e-05/0.7796, allocations: 44.66 kB / 1.19 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.7806, allocations: 0.5176 MB / 1.191 GB, free: 10.21 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.7806, allocations: 12.33 kB / 1.191 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.7807, allocations: 20 kB / 1.191 GB, free: 10.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.7811, allocations: 176.2 kB / 1.191 GB, free: 10 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.7811, allocations: 3.938 kB / 1.191 GB, free: 10 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.7811, allocations: 4 kB / 1.191 GB, free: 9.996 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.7811, allocations: 4 kB / 1.191 GB, free: 9.992 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.7815, allocations: 144.2 kB / 1.191 GB, free: 9.852 MB / 0.92 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.001207/0.7827, allocations: 0.8569 MB / 1.192 GB, free: 8.895 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.783, allocations: 126.6 kB / 1.192 GB, free: 8.762 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.7832, allocations: 72.81 kB / 1.192 GB, free: 8.688 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003328/0.7835, allocations: 340.3 kB / 1.193 GB, free: 8.281 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.7836, allocations: 38.5 kB / 1.193 GB, free: 8.234 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.7836, allocations: 0 / 1.193 GB, free: 8.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0005891/0.7842, allocations: 221.3 kB / 1.193 GB, free: 8.012 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.7842, allocations: 51.41 kB / 1.193 GB, free: 7.949 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.7846, allocations: 349.7 kB / 1.193 GB, free: 7.598 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.7847, allocations: 29.7 kB / 1.193 GB, free: 7.562 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.7848, allocations: 192.5 kB / 1.194 GB, free: 7.371 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.7849, allocations: 43.58 kB / 1.194 GB, free: 7.328 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.7849, allocations: 29.72 kB / 1.194 GB, free: 7.293 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.7851, allocations: 354.7 kB / 1.194 GB, free: 6.938 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.7853, allocations: 52.81 kB / 1.194 GB, free: 6.883 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.7855, allocations: 88.25 kB / 1.194 GB, free: 6.781 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.7858, allocations: 117.6 kB / 1.194 GB, free: 6.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7858, allocations: 0 / 1.194 GB, free: 6.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003869/0.7862, allocations: 181.3 kB / 1.194 GB, free: 6.477 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.7862, allocations: 7.938 kB / 1.194 GB, free: 6.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.7862, allocations: 4.062 kB / 1.194 GB, free: 6.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.7862, allocations: 4 kB / 1.194 GB, free: 6.461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.7864, allocations: 23.98 kB / 1.194 GB, free: 6.438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.7864, allocations: 0 / 1.194 GB, free: 6.438 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.7866, allocations: 19.98 kB / 1.194 GB, free: 6.418 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.7866, allocations: 7.984 kB / 1.194 GB, free: 6.41 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002334/0.7868, allocations: 160 kB / 1.195 GB, free: 6.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001628/0.787, allocations: 80.91 kB / 1.195 GB, free: 6.156 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002671/0.7873, allocations: 113.7 kB / 1.195 GB, free: 6.039 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.7873, allocations: 96 / 1.195 GB, free: 6.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003667/0.7877, allocations: 181.2 kB / 1.195 GB, free: 5.855 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.7877, allocations: 10.5 kB / 1.195 GB, free: 5.848 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.7877, allocations: 3.938 kB / 1.195 GB, free: 5.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/0.7877, allocations: 3.984 kB / 1.195 GB, free: 5.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.7878, allocations: 23.98 kB / 1.195 GB, free: 5.816 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.7878, allocations: 7.938 kB / 1.195 GB, free: 5.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.788, allocations: 11.98 kB / 1.195 GB, free: 5.797 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.788, allocations: 8 kB / 1.195 GB, free: 5.789 MB / 0.92 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.0001202/0.7882, allocations: 188.2 kB / 1.195 GB, free: 5.598 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.7882, allocations: 43.7 kB / 1.195 GB, free: 5.555 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/0.7887, allocations: 224.9 kB / 1.195 GB, free: 5.332 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.7888, allocations: 7.984 kB / 1.195 GB, free: 5.324 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7888, allocations: 0 / 1.195 GB, free: 5.324 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7888, allocations: 4 kB / 1.195 GB, free: 5.32 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009347/0.7897, allocations: 0.6306 MB / 1.196 GB, free: 4.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7897, allocations: 0 / 1.196 GB, free: 4.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.7899, allocations: 28.08 kB / 1.196 GB, free: 4.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.7899, allocations: 0 / 1.196 GB, free: 4.598 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.7899, allocations: 4 kB / 1.196 GB, free: 4.594 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.7899, allocations: 0 / 1.196 GB, free: 4.594 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7899, allocations: 4 kB / 1.196 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/0.7904, allocations: 325.7 kB / 1.196 GB, free: 4.246 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.7905, allocations: 132.8 kB / 1.197 GB, free: 4.098 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.7906, allocations: 4 kB / 1.197 GB, free: 4.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.7908, allocations: 11.98 kB / 1.197 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.7908, allocations: 7.984 kB / 1.197 GB, free: 4.074 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.7908, allocations: 12.06 kB / 1.197 GB, free: 4.062 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002723/0.7911, allocations: 255.1 kB / 1.197 GB, free: 3.816 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7911, allocations: 0 / 1.197 GB, free: 3.816 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005943/0.7917, allocations: 191.4 kB / 1.197 GB, free: 3.629 MB / 0.92 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.001402/0.7931, allocations: 1.003 MB / 1.198 GB, free: 2.594 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005922/0.7937, allocations: 191.8 kB / 1.198 GB, free: 2.406 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.7937, allocations: 0 / 1.198 GB, free: 2.406 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.794, allocations: 75.89 kB / 1.198 GB, free: 2.332 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008907/0.7949, allocations: 153.4 kB / 1.198 GB, free: 2.188 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.7988, allocations: 2.745 MB / 1.201 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.7993, allocations: 0.7918 MB / 1.202 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002471/0.7995, allocations: 79.08 kB / 1.202 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.7997, allocations: 111.4 kB / 1.202 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.7997, allocations: 0 / 1.202 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.8341, allocations: 10.07 MB / 1.212 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/9.284, allocations: 14.12 kB / 1.212 GB, free: 4.461 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches