Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.FlowJunction,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_10_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.007782/0.007782, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001921/0.001921, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.597/2.597, allocations: 437.1 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2549, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7689/1.024, allocations: 239.9 MB / 1.4 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01105/1.035, allocations: 7.206 MB / 1.407 GB, free: 7.32 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/1.036, allocations: 56.09 kB / 1.408 GB, free: 7.297 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001776/1.038, allocations: 0.7159 MB / 1.408 GB, free: 6.699 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0051/1.043, allocations: 2.166 MB / 1.41 GB, free: 5.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00465/1.048, allocations: 2.068 MB / 1.412 GB, free: 3.488 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003744/1.052, allocations: 3.28 MB / 1.416 GB, free: 1.582 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/1.053, allocations: 1.134 MB / 1.417 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0036/1.057, allocations: 1.861 MB / 1.418 GB, free: 15.72 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/1.059, allocations: 0.967 MB / 1.419 GB, free: 15.14 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000278/1.059, allocations: 124.8 kB / 1.42 GB, free: 15.14 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004615/1.064, allocations: 2.497 MB / 1.422 GB, free: 13.75 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00057/1.064, allocations: 462.5 kB / 1.422 GB, free: 13.43 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/1.065, allocations: 0.7272 MB / 1.423 GB, free: 12.95 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005018/1.07, allocations: 2.678 MB / 1.426 GB, free: 11.03 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.07, allocations: 0 / 1.426 GB, free: 11.03 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.984e-06/1.07, allocations: 0 / 1.426 GB, free: 11.03 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.409e-05/1.07, allocations: 0 / 1.426 GB, free: 11.03 MB / 1.092 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.002845/1.073, allocations: 1.753 MB / 1.427 GB, free: 9.215 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.073, allocations: 8.031 kB / 1.427 GB, free: 9.207 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/1.073, allocations: 130.8 kB / 1.428 GB, free: 9.07 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00255/1.076, allocations: 434.7 kB / 1.428 GB, free: 8.645 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/1.078, allocations: 1.031 MB / 1.429 GB, free: 7.57 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/1.078, allocations: 62.88 kB / 1.429 GB, free: 7.512 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/1.078, allocations: 84 kB / 1.429 GB, free: 7.43 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/1.079, allocations: 0.8663 MB / 1.43 GB, free: 6.559 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/1.08, allocations: 3.953 kB / 1.43 GB, free: 6.555 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-05/1.08, allocations: 32 kB / 1.43 GB, free: 6.523 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/1.08, allocations: 30 kB / 1.43 GB, free: 6.492 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/1.081, allocations: 0.8081 MB / 1.431 GB, free: 5.684 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.004567/1.086, allocations: 3.648 MB / 1.434 GB, free: 1.738 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/1.087, allocations: 1.098 MB / 1.435 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/1.088, allocations: 379.3 kB / 1.436 GB, free: 160 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/1.088, allocations: 404.9 kB / 1.436 GB, free: 15.69 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/1.088, allocations: 43.12 kB / 1.436 GB, free: 15.64 MB / 1.107 GB Notification: Performance of pre-optimization done (n=60): time 3.998e-06/1.088, allocations: 0 / 1.436 GB, free: 15.64 MB / 1.107 GB Notification: Performance of matching and sorting (n=60): time 0.002024/1.09, allocations: 0.9629 MB / 1.437 GB, free: 14.67 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/1.091, allocations: 55.97 kB / 1.437 GB, free: 14.6 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000996/1.092, allocations: 0.8399 MB / 1.438 GB, free: 13.73 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/1.092, allocations: 49.64 kB / 1.438 GB, free: 13.68 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/1.092, allocations: 484.8 kB / 1.439 GB, free: 13.2 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/1.092, allocations: 222.1 kB / 1.439 GB, free: 12.98 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/1.092, allocations: 110.2 kB / 1.439 GB, free: 12.87 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.092, allocations: 326 kB / 1.439 GB, free: 12.54 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/1.093, allocations: 255 kB / 1.439 GB, free: 12.29 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/1.093, allocations: 367.5 kB / 1.44 GB, free: 11.9 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/1.094, allocations: 0.589 MB / 1.44 GB, free: 11.3 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.094, allocations: 0 / 1.44 GB, free: 11.3 MB / 1.107 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001298/1.096, allocations: 0.7481 MB / 1.441 GB, free: 10.54 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.096, allocations: 4 kB / 1.441 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.096, allocations: 4.094 kB / 1.441 GB, free: 10.53 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.096, allocations: 7.938 kB / 1.441 GB, free: 10.52 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/1.096, allocations: 127.8 kB / 1.441 GB, free: 10.4 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.096, allocations: 4 kB / 1.441 GB, free: 10.39 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007045/1.097, allocations: 76.7 kB / 1.441 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/1.097, allocations: 20 kB / 1.441 GB, free: 10.3 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007501/1.098, allocations: 0.4893 MB / 1.442 GB, free: 9.809 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005295/1.099, allocations: 359.5 kB / 1.442 GB, free: 9.426 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009653/1.099, allocations: 0.5813 MB / 1.443 GB, free: 8.832 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/1.1, allocations: 0 / 1.443 GB, free: 8.832 MB / 1.107 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00122/1.101, allocations: 0.7327 MB / 1.443 GB, free: 8.09 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.101, allocations: 6.344 kB / 1.443 GB, free: 8.086 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.101, allocations: 4 kB / 1.443 GB, free: 8.082 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/1.101, allocations: 4 kB / 1.443 GB, free: 8.078 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/1.101, allocations: 123.8 kB / 1.444 GB, free: 7.957 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.101, allocations: 7.938 kB / 1.444 GB, free: 7.949 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/1.102, allocations: 64.55 kB / 1.444 GB, free: 7.887 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/1.102, allocations: 28.02 kB / 1.444 GB, free: 7.859 MB / 1.107 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.0001657/1.102, allocations: 216.1 kB / 1.444 GB, free: 7.641 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/1.102, allocations: 111.2 kB / 1.444 GB, free: 7.531 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/1.104, allocations: 0.7369 MB / 1.445 GB, free: 6.789 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.104, allocations: 8 kB / 1.445 GB, free: 6.781 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.104, allocations: 3.984 kB / 1.445 GB, free: 6.777 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/1.105, allocations: 0.8995 MB / 1.446 GB, free: 5.793 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/1.108, allocations: 2.247 MB / 1.448 GB, free: 3.402 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.108, allocations: 4 kB / 1.448 GB, free: 3.398 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/1.109, allocations: 131.8 kB / 1.448 GB, free: 3.27 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.109, allocations: 8 kB / 1.448 GB, free: 3.262 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/1.109, allocations: 23.98 kB / 1.448 GB, free: 3.238 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/1.109, allocations: 4.406 kB / 1.448 GB, free: 3.234 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/1.109, allocations: 11.94 kB / 1.448 GB, free: 3.223 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/1.111, allocations: 1.235 MB / 1.449 GB, free: 1.93 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/1.111, allocations: 260.3 kB / 1.449 GB, free: 1.656 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.111, allocations: 19.98 kB / 1.449 GB, free: 1.637 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/1.112, allocations: 39.95 kB / 1.449 GB, free: 1.598 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/1.112, allocations: 52.27 kB / 1.45 GB, free: 1.547 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/1.112, allocations: 31.97 kB / 1.45 GB, free: 1.516 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007209/1.113, allocations: 0.5823 MB / 1.45 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.113, allocations: 0 / 1.45 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001188/1.114, allocations: 0.5341 MB / 1.451 GB, free: 396 kB / 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.002735/1.117, allocations: 1.927 MB / 1.453 GB, free: 14.4 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001762/1.119, allocations: 0.9427 MB / 1.453 GB, free: 13.46 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/1.119, allocations: 7.938 kB / 1.453 GB, free: 13.45 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005689/1.119, allocations: 347.5 kB / 1.454 GB, free: 13.11 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/1.122, allocations: 0.5877 MB / 1.454 GB, free: 12.54 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.132, allocations: 7.631 MB / 1.462 GB, free: 4.68 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/1.133, allocations: 1.128 MB / 1.463 GB, free: 3.516 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009741/1.134, allocations: 300.1 kB / 1.463 GB, free: 3.219 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/1.134, allocations: 411.3 kB / 1.464 GB, free: 2.82 MB / 1.123 GB Notification: Performance of SimCode: time 5.71e-07/1.134, allocations: 0 / 1.464 GB, free: 2.82 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05481/1.189, allocations: 29.38 MB / 1.492 GB, free: 5.887 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.498/10.69, allocations: 7.734 kB / 1.492 GB, free: 5.883 MB / 1.154 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches