Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_9_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.001118/0.001118, allocations: 108 kB / 15.61 MB, free: 152 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.001136/0.001136, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.3 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.89 kB / 0.8126 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.534/0.5354, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1578/0.6932, allocations: 161.5 MB / 1.107 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.6959, allocations: 1.715 MB / 1.109 GB, free: 14 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/0.6962, allocations: 7.938 kB / 1.109 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.6967, allocations: 162.9 kB / 1.109 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.6979, allocations: 0.5056 MB / 1.11 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.6989, allocations: 424.6 kB / 1.11 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007209/0.6997, allocations: 0.5538 MB / 1.111 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.7, allocations: 196.3 kB / 1.111 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005667/0.7006, allocations: 314.7 kB / 1.111 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.7008, allocations: 163.3 kB / 1.111 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.7009, allocations: 12 kB / 1.111 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.7019, allocations: 0.6898 MB / 1.112 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.7021, allocations: 79.77 kB / 1.112 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.7022, allocations: 115.4 kB / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007325/0.7029, allocations: 498.5 kB / 1.113 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7029, allocations: 0 / 1.113 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.153e-06/0.7029, allocations: 0 / 1.113 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.703, allocations: 0 / 1.113 GB, free: 10.31 MB / 0.8731 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.0007929/0.7038, allocations: 0.5879 MB / 1.113 GB, free: 9.676 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.7038, allocations: 8.031 kB / 1.113 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.7038, allocations: 42.56 kB / 1.113 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.7042, allocations: 59.58 kB / 1.113 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.7045, allocations: 285.3 kB / 1.114 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.7046, allocations: 16 kB / 1.114 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.7046, allocations: 12 kB / 1.114 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.7049, allocations: 200.5 kB / 1.114 GB, free: 9 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.705, allocations: 0 / 1.114 GB, free: 9 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.705, allocations: 8 kB / 1.114 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.705, allocations: 3.938 kB / 1.114 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.7053, allocations: 135.8 kB / 1.114 GB, free: 8.855 MB / 0.8731 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.0009568/0.7063, allocations: 0.7808 MB / 1.115 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.7065, allocations: 82.53 kB / 1.115 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.7067, allocations: 84.8 kB / 1.115 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.707, allocations: 186.2 kB / 1.115 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.7071, allocations: 38.56 kB / 1.115 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.7071, allocations: 0 / 1.115 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006873/0.7078, allocations: 217.2 kB / 1.115 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.7078, allocations: 51.41 kB / 1.115 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.7081, allocations: 267 kB / 1.116 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.7081, allocations: 33.7 kB / 1.116 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.7082, allocations: 147.9 kB / 1.116 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.7082, allocations: 35.53 kB / 1.116 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.7083, allocations: 33.7 kB / 1.116 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7084, allocations: 330.8 kB / 1.116 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.7085, allocations: 44.81 kB / 1.116 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.7087, allocations: 101 kB / 1.116 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.709, allocations: 119.3 kB / 1.116 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.709, allocations: 4 kB / 1.116 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003519/0.7094, allocations: 157.3 kB / 1.117 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.7094, allocations: 4 kB / 1.117 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7094, allocations: 8.484 kB / 1.117 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.7094, allocations: 4 kB / 1.117 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.7096, allocations: 23.97 kB / 1.117 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7096, allocations: 0 / 1.117 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.7098, allocations: 27.77 kB / 1.117 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.7098, allocations: 12.03 kB / 1.117 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001905/0.71, allocations: 148 kB / 1.117 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001551/0.7102, allocations: 85.11 kB / 1.117 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00025/0.7104, allocations: 123.3 kB / 1.117 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.7104, allocations: 0 / 1.117 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003313/0.7108, allocations: 161.4 kB / 1.117 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.7108, allocations: 4 kB / 1.117 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.7108, allocations: 0 / 1.117 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.7108, allocations: 7.938 kB / 1.117 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.7109, allocations: 31.89 kB / 1.117 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.7109, allocations: 0 / 1.117 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.7111, allocations: 15.98 kB / 1.117 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.7111, allocations: 4 kB / 1.117 GB, free: 5.277 MB / 0.8731 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 9.28e-05/0.7112, allocations: 190.2 kB / 1.117 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.7113, allocations: 23.72 kB / 1.117 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.7117, allocations: 167.2 kB / 1.118 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.7117, allocations: 4 kB / 1.118 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7117, allocations: 0 / 1.118 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.7117, allocations: 0 / 1.118 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008356/0.7125, allocations: 0.582 MB / 1.118 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7125, allocations: 4.125 kB / 1.118 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.7127, allocations: 27.98 kB / 1.118 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.7127, allocations: 0 / 1.118 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.7127, allocations: 4 kB / 1.118 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.7127, allocations: 7.984 kB / 1.118 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7127, allocations: 224 / 1.118 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.7131, allocations: 301.3 kB / 1.119 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.5e-05/0.7132, allocations: 120.7 kB / 1.119 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.7132, allocations: 4.094 kB / 1.119 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.7134, allocations: 15.92 kB / 1.119 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.7135, allocations: 15.92 kB / 1.119 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.7135, allocations: 4 kB / 1.119 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001715/0.7137, allocations: 198 kB / 1.119 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7137, allocations: 0 / 1.119 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004479/0.7141, allocations: 99.83 kB / 1.119 GB, free: 3.383 MB / 0.8731 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.0008348/0.715, allocations: 0.8801 MB / 1.12 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.7155, allocations: 171.8 kB / 1.12 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7155, allocations: 0 / 1.12 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.7157, allocations: 67.83 kB / 1.12 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.7164, allocations: 119.2 kB / 1.12 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.719, allocations: 2.347 MB / 1.122 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.7194, allocations: 0.7635 MB / 1.123 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002206/0.7196, allocations: 74.47 kB / 1.123 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.7197, allocations: 71.41 kB / 1.123 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of SimCode: time 2.21e-07/0.7197, allocations: 0 / 1.123 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.7432, allocations: 6.832 MB / 1.13 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/8.202, allocations: 8.953 kB / 1.13 GB, free: 8.004 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches