Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.FlowJunction,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction",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.00742/0.00742, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001861/0.001861, allocations: 193.7 kB / 16.68 MB, free: 5.973 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.316/1.316, 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 9.1.3-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.689/0.6903, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2458/0.9362, allocations: 239.9 MB / 1.322 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.9467, allocations: 7.204 MB / 1.329 GB, free: 6.426 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.9477, allocations: 47.69 kB / 1.329 GB, free: 6.379 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.9493, allocations: 0.73 MB / 1.33 GB, free: 5.645 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.9538, allocations: 2.161 MB / 1.332 GB, free: 3.477 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004374/0.9582, allocations: 2.066 MB / 1.334 GB, free: 1.418 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003494/0.9617, allocations: 3.281 MB / 1.337 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.9631, allocations: 1.134 MB / 1.338 GB, free: 12.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003462/0.9665, allocations: 1.86 MB / 1.34 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.9681, allocations: 0.965 MB / 1.341 GB, free: 10.14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.9682, allocations: 120 kB / 1.341 GB, free: 10.03 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004119/0.9723, allocations: 2.494 MB / 1.343 GB, free: 7.527 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004061/0.9728, allocations: 466.7 kB / 1.344 GB, free: 7.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000718/0.9735, allocations: 0.7194 MB / 1.344 GB, free: 6.348 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003399/0.9769, allocations: 2.683 MB / 1.347 GB, free: 3.656 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.9769, allocations: 0 / 1.347 GB, free: 3.656 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.905e-06/0.9769, allocations: 8 kB / 1.347 GB, free: 3.648 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.9769, allocations: 3.938 kB / 1.347 GB, free: 3.645 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.00256/0.9795, allocations: 1.759 MB / 1.349 GB, free: 1.832 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.9796, allocations: 8.031 kB / 1.349 GB, free: 1.824 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.9797, allocations: 122.8 kB / 1.349 GB, free: 1.695 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/0.9824, allocations: 430.7 kB / 1.349 GB, free: 1.273 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.9841, allocations: 1.031 MB / 1.35 GB, free: 204 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.9842, allocations: 62 kB / 1.35 GB, free: 140 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.9843, allocations: 84 kB / 1.35 GB, free: 56 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.9858, allocations: 0.8663 MB / 1.351 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.9859, allocations: 4 kB / 1.351 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.439e-05/0.986, allocations: 28 kB / 1.351 GB, free: 15.15 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.986, allocations: 30 kB / 1.351 GB, free: 15.12 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.9875, allocations: 0.808 MB / 1.352 GB, free: 14.31 MB / 1.092 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.004349/0.9918, allocations: 3.648 MB / 1.356 GB, free: 10.37 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.9933, allocations: 1.099 MB / 1.357 GB, free: 9.156 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/0.9939, allocations: 374.3 kB / 1.357 GB, free: 8.789 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/0.9945, allocations: 404.9 kB / 1.358 GB, free: 8.32 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.9946, allocations: 43.12 kB / 1.358 GB, free: 8.27 MB / 1.092 GB Notification: Performance of pre-optimization done (n=60): time 2.324e-06/0.9946, allocations: 3.938 kB / 1.358 GB, free: 8.266 MB / 1.092 GB Notification: Performance of matching and sorting (n=60): time 0.002003/0.9966, allocations: 0.9629 MB / 1.358 GB, free: 7.297 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.9966, allocations: 63.95 kB / 1.359 GB, free: 7.219 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009506/0.9976, allocations: 0.8361 MB / 1.359 GB, free: 6.359 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.9977, allocations: 37.7 kB / 1.359 GB, free: 6.316 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.998, allocations: 488.8 kB / 1.36 GB, free: 5.832 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.9982, allocations: 218.1 kB / 1.36 GB, free: 5.617 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.9983, allocations: 114.2 kB / 1.36 GB, free: 5.5 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.9984, allocations: 330 kB / 1.361 GB, free: 5.172 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.9989, allocations: 255 kB / 1.361 GB, free: 4.922 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/0.9995, allocations: 367.5 kB / 1.361 GB, free: 4.527 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/1.001, allocations: 0.593 MB / 1.362 GB, free: 3.922 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.001, allocations: 0 / 1.362 GB, free: 3.922 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001308/1.002, allocations: 0.7402 MB / 1.362 GB, free: 3.172 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.002, allocations: 10.19 kB / 1.362 GB, free: 3.164 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.002, allocations: 4.125 kB / 1.362 GB, free: 3.16 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.002, allocations: 4 kB / 1.362 GB, free: 3.156 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/1.003, allocations: 123.8 kB / 1.363 GB, free: 3.035 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/1.003, allocations: 8 kB / 1.363 GB, free: 3.027 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/1.003, allocations: 67.62 kB / 1.363 GB, free: 2.961 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/1.003, allocations: 23.98 kB / 1.363 GB, free: 2.938 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007357/1.004, allocations: 0.4932 MB / 1.363 GB, free: 2.441 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005372/1.005, allocations: 363.4 kB / 1.363 GB, free: 2.051 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009722/1.006, allocations: 0.5774 MB / 1.364 GB, free: 1.461 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/1.006, allocations: 0 / 1.364 GB, free: 1.461 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001223/1.007, allocations: 0.7247 MB / 1.365 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.007, allocations: 8 kB / 1.365 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/1.007, allocations: 0 / 1.365 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/1.007, allocations: 7.938 kB / 1.365 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/1.007, allocations: 123.9 kB / 1.365 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/1.007, allocations: 12.11 kB / 1.365 GB, free: 0.5781 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007051/1.008, allocations: 63.64 kB / 1.365 GB, free: 0.5156 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/1.008, allocations: 23.98 kB / 1.365 GB, free: 0.4922 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0001636/1.008, allocations: 216.1 kB / 1.365 GB, free: 280 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/1.009, allocations: 107.3 kB / 1.365 GB, free: 172 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/1.01, allocations: 0.7472 MB / 1.366 GB, free: 15.41 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/1.01, allocations: 8 kB / 1.366 GB, free: 15.41 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.01, allocations: 0 / 1.366 GB, free: 15.41 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/1.011, allocations: 0.8956 MB / 1.367 GB, free: 14.43 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/1.014, allocations: 2.251 MB / 1.369 GB, free: 12.04 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.014, allocations: 8.594 kB / 1.369 GB, free: 12.03 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/1.015, allocations: 143.7 kB / 1.369 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.015, allocations: 7.938 kB / 1.369 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/1.015, allocations: 19.98 kB / 1.369 GB, free: 11.86 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/1.015, allocations: 11.94 kB / 1.369 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.015, allocations: 4 kB / 1.369 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/1.017, allocations: 1.231 MB / 1.37 GB, free: 10.56 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/1.017, allocations: 264.3 kB / 1.371 GB, free: 10.28 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.017, allocations: 19.98 kB / 1.371 GB, free: 10.26 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/1.018, allocations: 39.95 kB / 1.371 GB, free: 10.22 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.018, allocations: 52.27 kB / 1.371 GB, free: 10.17 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/1.018, allocations: 23.98 kB / 1.371 GB, free: 10.15 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007025/1.019, allocations: 0.5901 MB / 1.371 GB, free: 9.547 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.019, allocations: 0 / 1.371 GB, free: 9.547 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001131/1.02, allocations: 0.5341 MB / 1.372 GB, free: 9.012 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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.00234/1.022, allocations: 1.913 MB / 1.374 GB, free: 7.039 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001686/1.024, allocations: 0.947 MB / 1.375 GB, free: 6.09 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.024, allocations: 4.062 kB / 1.375 GB, free: 6.086 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000553/1.024, allocations: 342.2 kB / 1.375 GB, free: 5.746 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/1.027, allocations: 0.6026 MB / 1.376 GB, free: 5.156 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009662/1.037, allocations: 7.634 MB / 1.383 GB, free: 13.29 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/1.037, allocations: 1.116 MB / 1.384 GB, free: 12.14 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009593/1.038, allocations: 300.1 kB / 1.384 GB, free: 11.84 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/1.039, allocations: 419.3 kB / 1.385 GB, free: 11.43 MB / 1.123 GB Notification: Performance of SimCode: time 6.81e-07/1.039, allocations: 0 / 1.385 GB, free: 11.43 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05231/1.091, allocations: 29.37 MB / 1.414 GB, free: 14.52 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.493/10.58, allocations: 15.56 kB / 1.414 GB, free: 14.51 MB / 1.154 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches