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.001103/0.001103, allocations: 104 kB / 15.61 MB, free: 148 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.00114/0.00114, allocations: 197.6 kB / 16.54 MB, free: 6.684 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.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.536/2.536, allocations: 437.1 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.89 kB / 0.8693 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5131, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01529/0.5284, allocations: 15.06 MB / 1.032 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004958/0.5334, allocations: 3.888 MB / 1.036 GB, free: 15.43 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004255/0.5338, allocations: 15.94 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005306/0.5344, allocations: 198.7 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.5359, allocations: 0.6763 MB / 1.037 GB, free: 14.54 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.5371, allocations: 469.6 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.5385, allocations: 1.078 MB / 1.038 GB, free: 13 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.539, allocations: 281.5 kB / 1.039 GB, free: 12.72 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006508/0.5396, allocations: 402.5 kB / 1.039 GB, free: 12.33 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.54, allocations: 262.7 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.54, allocations: 20 kB / 1.039 GB, free: 12.05 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.5411, allocations: 0.7173 MB / 1.04 GB, free: 11.33 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.36e-05/0.5412, allocations: 75.67 kB / 1.04 GB, free: 11.26 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.5414, allocations: 179 kB / 1.04 GB, free: 11.08 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000964/0.5424, allocations: 0.7244 MB / 1.041 GB, free: 10.36 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.5424, allocations: 0 / 1.041 GB, free: 10.36 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.466e-06/0.5424, allocations: 3.984 kB / 1.041 GB, free: 10.35 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.5424, allocations: 0 / 1.041 GB, free: 10.35 MB / 0.795 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.001049/0.5435, allocations: 0.7357 MB / 1.042 GB, free: 9.566 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5435, allocations: 8.031 kB / 1.042 GB, free: 9.559 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.5436, allocations: 46.73 kB / 1.042 GB, free: 9.504 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.879e-05/0.5437, allocations: 56.38 kB / 1.042 GB, free: 9.449 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008104/0.5445, allocations: 0.4937 MB / 1.042 GB, free: 8.914 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.5445, allocations: 16.33 kB / 1.042 GB, free: 8.898 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.5446, allocations: 24 kB / 1.042 GB, free: 8.875 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.5449, allocations: 176.2 kB / 1.042 GB, free: 8.699 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5449, allocations: 0 / 1.042 GB, free: 8.699 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.545, allocations: 12 kB / 1.042 GB, free: 8.688 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.545, allocations: 4 kB / 1.042 GB, free: 8.684 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.5453, allocations: 135.8 kB / 1.043 GB, free: 8.551 MB / 0.795 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.001064/0.5464, allocations: 0.8722 MB / 1.043 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.5466, allocations: 118.6 kB / 1.043 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.5468, allocations: 72.81 kB / 1.044 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/0.5471, allocations: 332.4 kB / 1.044 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.5472, allocations: 50.44 kB / 1.044 GB, free: 6.922 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.5472, allocations: 3.938 kB / 1.044 GB, free: 6.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0005676/0.5478, allocations: 209.2 kB / 1.044 GB, free: 6.707 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.5478, allocations: 51.41 kB / 1.044 GB, free: 6.645 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.5481, allocations: 353.6 kB / 1.044 GB, free: 6.293 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.5482, allocations: 25.7 kB / 1.045 GB, free: 6.262 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.5483, allocations: 196.3 kB / 1.045 GB, free: 6.066 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.5483, allocations: 43.39 kB / 1.045 GB, free: 6.023 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.5484, allocations: 29.7 kB / 1.045 GB, free: 5.988 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5485, allocations: 342.8 kB / 1.045 GB, free: 5.645 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.5487, allocations: 56.75 kB / 1.045 GB, free: 5.586 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.5489, allocations: 92.19 kB / 1.045 GB, free: 5.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.5491, allocations: 117.6 kB / 1.045 GB, free: 5.359 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5491, allocations: 0 / 1.045 GB, free: 5.359 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003748/0.5495, allocations: 173.2 kB / 1.046 GB, free: 5.184 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.5496, allocations: 7.938 kB / 1.046 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5496, allocations: 8 kB / 1.046 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5496, allocations: 0 / 1.046 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.5497, allocations: 31.92 kB / 1.046 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5497, allocations: 0 / 1.046 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.5499, allocations: 19.88 kB / 1.046 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.55, allocations: 4 kB / 1.046 GB, free: 5.113 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002087/0.5502, allocations: 157.6 kB / 1.046 GB, free: 4.957 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001558/0.5504, allocations: 88.25 kB / 1.046 GB, free: 4.855 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002506/0.5506, allocations: 121.6 kB / 1.046 GB, free: 4.73 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.5506, allocations: 0 / 1.046 GB, free: 4.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003445/0.551, allocations: 165.2 kB / 1.046 GB, free: 4.562 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/0.551, allocations: 12 kB / 1.046 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.551, allocations: 3.938 kB / 1.046 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-06/0.551, allocations: 0 / 1.046 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.5511, allocations: 23.98 kB / 1.046 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.5511, allocations: 3.938 kB / 1.046 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.5513, allocations: 19.89 kB / 1.046 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.5513, allocations: 11.98 kB / 1.046 GB, free: 4.488 MB / 0.795 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 9.18e-05/0.5514, allocations: 184.2 kB / 1.046 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.5515, allocations: 47.5 kB / 1.046 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.552, allocations: 217.5 kB / 1.047 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.552, allocations: 0 / 1.047 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.552, allocations: 4 kB / 1.047 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.552, allocations: 3.938 kB / 1.047 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008248/0.5529, allocations: 0.6335 MB / 1.047 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5529, allocations: 0 / 1.047 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.553, allocations: 27.92 kB / 1.047 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.553, allocations: 3.984 kB / 1.047 GB, free: 3.297 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.553, allocations: 8 kB / 1.047 GB, free: 3.289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.553, allocations: 0 / 1.047 GB, free: 3.289 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.553, allocations: 4 kB / 1.047 GB, free: 3.285 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.5535, allocations: 324 kB / 1.048 GB, free: 2.945 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.5536, allocations: 132.5 kB / 1.048 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.5536, allocations: 0 / 1.048 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.5538, allocations: 19.98 kB / 1.048 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.5539, allocations: 7.984 kB / 1.048 GB, free: 2.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.5539, allocations: 11.98 kB / 1.048 GB, free: 2.758 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002303/0.5542, allocations: 251.1 kB / 1.048 GB, free: 2.52 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5542, allocations: 0 / 1.048 GB, free: 2.52 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005528/0.5547, allocations: 183.7 kB / 1.048 GB, free: 2.34 MB / 0.795 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.001024/0.5558, allocations: 1.001 MB / 1.049 GB, free: 1.312 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005105/0.5563, allocations: 199.7 kB / 1.049 GB, free: 1.117 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5563, allocations: 0 / 1.049 GB, free: 1.117 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.5565, allocations: 75.89 kB / 1.049 GB, free: 1.043 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008217/0.5573, allocations: 149.6 kB / 1.05 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.5605, allocations: 2.746 MB / 1.052 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.5608, allocations: 0.7918 MB / 1.053 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002466/0.561, allocations: 70.86 kB / 1.053 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.5612, allocations: 119.4 kB / 1.053 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.5612, allocations: 0 / 1.053 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.5885, allocations: 9.976 MB / 1.063 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/8.085, allocations: 8.016 kB / 1.063 GB, free: 3.262 MB / 0.8106 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