Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.008308/0.008308, allocations: 102 kB / 15.73 MB, free: 5.551 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.001542/0.001542, allocations: 195.4 kB / 16.67 MB, free: 5.477 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.734/2.734, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 59.91 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6555/0.6574, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1808/0.8383, allocations: 161.5 MB / 1.378 GB, free: 15.9 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.8412, allocations: 1.703 MB / 1.38 GB, free: 14.2 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.8414, allocations: 11.94 kB / 1.38 GB, free: 14.18 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.8419, allocations: 155 kB / 1.38 GB, free: 14.03 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.8432, allocations: 0.5094 MB / 1.38 GB, free: 13.52 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.8442, allocations: 421.3 kB / 1.381 GB, free: 13.11 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000761/0.845, allocations: 0.5693 MB / 1.381 GB, free: 12.54 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.8453, allocations: 185.4 kB / 1.381 GB, free: 12.36 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005812/0.8459, allocations: 314.8 kB / 1.382 GB, free: 12.05 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.8461, allocations: 159.2 kB / 1.382 GB, free: 11.89 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.8462, allocations: 15.94 kB / 1.382 GB, free: 11.88 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.8473, allocations: 0.6938 MB / 1.382 GB, free: 11.18 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.8474, allocations: 83.7 kB / 1.383 GB, free: 11.1 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.8475, allocations: 115.4 kB / 1.383 GB, free: 10.98 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000773/0.8483, allocations: 0.5008 MB / 1.383 GB, free: 10.48 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.8483, allocations: 0 / 1.383 GB, free: 10.48 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8484, allocations: 0 / 1.383 GB, free: 10.48 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.8484, allocations: 0 / 1.383 GB, free: 10.48 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008449/0.8492, allocations: 0.5872 MB / 1.384 GB, free: 9.848 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.8493, allocations: 12.03 kB / 1.384 GB, free: 9.836 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.8493, allocations: 46.55 kB / 1.384 GB, free: 9.781 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/0.8497, allocations: 59.78 kB / 1.384 GB, free: 9.723 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.8501, allocations: 309.4 kB / 1.384 GB, free: 9.383 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.8501, allocations: 8 kB / 1.384 GB, free: 9.375 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.8502, allocations: 20 kB / 1.384 GB, free: 9.355 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.8506, allocations: 200 kB / 1.384 GB, free: 9.145 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.8506, allocations: 0 / 1.384 GB, free: 9.145 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.8506, allocations: 4 kB / 1.384 GB, free: 9.141 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.8506, allocations: 4 kB / 1.384 GB, free: 9.137 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.851, allocations: 119.9 kB / 1.384 GB, free: 9.02 MB / 1.107 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.001059/0.852, allocations: 0.7855 MB / 1.385 GB, free: 8.164 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.8523, allocations: 86.47 kB / 1.385 GB, free: 8.07 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.8525, allocations: 72.88 kB / 1.385 GB, free: 7.996 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002939/0.8528, allocations: 190.2 kB / 1.386 GB, free: 7.773 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.8528, allocations: 34.56 kB / 1.386 GB, free: 7.73 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.8528, allocations: 4 kB / 1.386 GB, free: 7.727 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0007087/0.8535, allocations: 221.3 kB / 1.386 GB, free: 7.504 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.8536, allocations: 55.41 kB / 1.386 GB, free: 7.438 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.8539, allocations: 267 kB / 1.386 GB, free: 7.176 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.8539, allocations: 25.7 kB / 1.386 GB, free: 7.145 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.854, allocations: 152 kB / 1.386 GB, free: 6.992 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.8541, allocations: 32.08 kB / 1.386 GB, free: 6.961 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.8542, allocations: 33.7 kB / 1.386 GB, free: 6.922 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.8543, allocations: 330.8 kB / 1.387 GB, free: 6.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.8545, allocations: 48.83 kB / 1.387 GB, free: 6.539 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.8547, allocations: 96.98 kB / 1.387 GB, free: 6.426 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.855, allocations: 127.3 kB / 1.387 GB, free: 6.289 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.855, allocations: 3.938 kB / 1.387 GB, free: 6.285 MB / 1.107 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003697/0.8554, allocations: 165.4 kB / 1.387 GB, free: 6.117 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.8554, allocations: 4 kB / 1.387 GB, free: 6.113 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.8554, allocations: 3.938 kB / 1.387 GB, free: 6.109 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8554, allocations: 4 kB / 1.387 GB, free: 6.105 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.8555, allocations: 19.98 kB / 1.387 GB, free: 6.086 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.8556, allocations: 3.938 kB / 1.387 GB, free: 6.082 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.8557, allocations: 19.88 kB / 1.387 GB, free: 6.062 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.8558, allocations: 8 kB / 1.387 GB, free: 6.055 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002151/0.856, allocations: 152.1 kB / 1.387 GB, free: 5.902 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001778/0.8562, allocations: 89.11 kB / 1.387 GB, free: 5.797 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002702/0.8565, allocations: 123.3 kB / 1.388 GB, free: 5.664 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.8565, allocations: 0 / 1.388 GB, free: 5.664 MB / 1.107 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003512/0.8568, allocations: 149.7 kB / 1.388 GB, free: 5.512 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/0.8568, allocations: 4 kB / 1.388 GB, free: 5.508 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.8568, allocations: 3.984 kB / 1.388 GB, free: 5.504 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-06/0.8569, allocations: 7.938 kB / 1.388 GB, free: 5.496 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.857, allocations: 27.92 kB / 1.388 GB, free: 5.469 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.857, allocations: 3.984 kB / 1.388 GB, free: 5.465 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.8572, allocations: 16.02 kB / 1.388 GB, free: 5.449 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.8572, allocations: 4 kB / 1.388 GB, free: 5.445 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001148/0.8573, allocations: 192.2 kB / 1.388 GB, free: 5.25 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.8574, allocations: 23.86 kB / 1.388 GB, free: 5.227 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.8578, allocations: 163.6 kB / 1.388 GB, free: 5.059 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8578, allocations: 4 kB / 1.388 GB, free: 5.055 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8578, allocations: 4 kB / 1.388 GB, free: 5.051 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.8578, allocations: 96 / 1.388 GB, free: 5.051 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009554/0.8588, allocations: 0.5976 MB / 1.389 GB, free: 4.375 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8588, allocations: 0 / 1.389 GB, free: 4.375 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.8589, allocations: 23.98 kB / 1.389 GB, free: 4.352 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8589, allocations: 0 / 1.389 GB, free: 4.352 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.8589, allocations: 4.125 kB / 1.389 GB, free: 4.348 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.8589, allocations: 8 kB / 1.389 GB, free: 4.34 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8589, allocations: 0 / 1.389 GB, free: 4.34 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.8594, allocations: 309.4 kB / 1.389 GB, free: 4 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.8595, allocations: 112.9 kB / 1.389 GB, free: 3.871 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.8595, allocations: 4 kB / 1.389 GB, free: 3.867 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.8597, allocations: 15.98 kB / 1.389 GB, free: 3.852 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.8598, allocations: 11.92 kB / 1.389 GB, free: 3.84 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.8598, allocations: 4 kB / 1.389 GB, free: 3.836 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002059/0.86, allocations: 197.9 kB / 1.389 GB, free: 3.641 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.71e-07/0.86, allocations: 4 kB / 1.389 GB, free: 3.637 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004482/0.8605, allocations: 95.83 kB / 1.389 GB, free: 3.543 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.001024/0.8615, allocations: 0.8994 MB / 1.39 GB, free: 2.605 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004937/0.862, allocations: 171.9 kB / 1.39 GB, free: 2.438 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.862, allocations: 0 / 1.39 GB, free: 2.438 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.8622, allocations: 67.83 kB / 1.391 GB, free: 2.371 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007383/0.863, allocations: 113.2 kB / 1.391 GB, free: 2.262 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.866, allocations: 2.363 MB / 1.393 GB, free: 15.76 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.8664, allocations: 0.7519 MB / 1.394 GB, free: 14.98 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002011/0.8666, allocations: 70.52 kB / 1.394 GB, free: 14.91 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.8667, allocations: 75.41 kB / 1.394 GB, free: 14.84 MB / 1.123 GB Notification: Performance of SimCode: time 3.6e-07/0.8668, allocations: 3.938 kB / 1.394 GB, free: 14.84 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.8958, allocations: 6.894 MB / 1.401 GB, free: 8.102 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.814, allocations: 18.48 kB / 1.401 GB, free: 8.086 MB / 1.123 GB (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_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_PressureDrop.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches