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.007998/0.007998, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001949/0.001949, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.367/2.367, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.89 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7352/0.7365, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2342/0.9708, allocations: 239.9 MB / 1.4 GB, free: 3.023 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.9824, allocations: 7.199 MB / 1.407 GB, free: 11.81 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.9843, allocations: 51.69 kB / 1.407 GB, free: 11.76 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.9862, allocations: 0.7339 MB / 1.408 GB, free: 11.02 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005228/0.9916, allocations: 2.168 MB / 1.41 GB, free: 8.844 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004681/0.9963, allocations: 2.062 MB / 1.412 GB, free: 6.789 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004143/1, allocations: 3.277 MB / 1.416 GB, free: 3.508 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/1.002, allocations: 1.137 MB / 1.417 GB, free: 2.348 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/1.005, allocations: 1.857 MB / 1.418 GB, free: 496 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/1.007, allocations: 0.9655 MB / 1.419 GB, free: 15.52 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/1.007, allocations: 124 kB / 1.42 GB, free: 15.4 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/1.011, allocations: 2.494 MB / 1.422 GB, free: 12.9 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004552/1.012, allocations: 466.7 kB / 1.422 GB, free: 12.44 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007858/1.013, allocations: 0.7193 MB / 1.423 GB, free: 11.72 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003761/1.016, allocations: 2.679 MB / 1.426 GB, free: 9.031 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/1.016, allocations: 3.938 kB / 1.426 GB, free: 9.027 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.523e-06/1.016, allocations: 4 kB / 1.426 GB, free: 9.023 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.549e-05/1.016, allocations: 0 / 1.426 GB, free: 9.023 MB / 1.154 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.002537/1.019, allocations: 1.757 MB / 1.427 GB, free: 7.207 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/1.019, allocations: 8.625 kB / 1.427 GB, free: 7.199 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/1.019, allocations: 130.8 kB / 1.428 GB, free: 7.062 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/1.022, allocations: 430.7 kB / 1.428 GB, free: 6.641 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/1.023, allocations: 1.031 MB / 1.429 GB, free: 5.566 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/1.023, allocations: 62 kB / 1.429 GB, free: 5.508 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/1.023, allocations: 80 kB / 1.429 GB, free: 5.43 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/1.025, allocations: 0.8624 MB / 1.43 GB, free: 4.562 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/1.025, allocations: 7.953 kB / 1.43 GB, free: 4.555 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.649e-05/1.025, allocations: 35.98 kB / 1.43 GB, free: 4.52 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/1.025, allocations: 34 kB / 1.43 GB, free: 4.484 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/1.027, allocations: 0.8003 MB / 1.431 GB, free: 3.684 MB / 1.154 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.004326/1.031, allocations: 3.652 MB / 1.434 GB, free: 15.73 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/1.032, allocations: 1.102 MB / 1.435 GB, free: 14.52 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006008/1.033, allocations: 371.8 kB / 1.436 GB, free: 14.16 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/1.034, allocations: 404.8 kB / 1.436 GB, free: 13.69 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/1.034, allocations: 47.06 kB / 1.436 GB, free: 13.63 MB / 1.17 GB Notification: Performance of pre-optimization done (n=60): time 2.264e-06/1.034, allocations: 0 / 1.436 GB, free: 13.63 MB / 1.17 GB Notification: Performance of matching and sorting (n=60): time 0.00204/1.036, allocations: 0.959 MB / 1.437 GB, free: 12.67 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.036, allocations: 59.97 kB / 1.437 GB, free: 12.6 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009737/1.037, allocations: 0.8399 MB / 1.438 GB, free: 11.73 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/1.037, allocations: 37.7 kB / 1.438 GB, free: 11.69 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/1.037, allocations: 488.8 kB / 1.439 GB, free: 11.21 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/1.037, allocations: 226 kB / 1.439 GB, free: 10.98 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/1.037, allocations: 110.2 kB / 1.439 GB, free: 10.87 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.038, allocations: 330 kB / 1.439 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/1.038, allocations: 258.9 kB / 1.439 GB, free: 10.29 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/1.039, allocations: 363.5 kB / 1.44 GB, free: 9.898 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/1.04, allocations: 0.5929 MB / 1.44 GB, free: 9.293 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.04, allocations: 0 / 1.44 GB, free: 9.293 MB / 1.17 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00128/1.041, allocations: 0.7481 MB / 1.441 GB, free: 8.535 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.041, allocations: 4 kB / 1.441 GB, free: 8.531 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.041, allocations: 8.125 kB / 1.441 GB, free: 8.523 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/1.041, allocations: 4 kB / 1.441 GB, free: 8.52 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/1.042, allocations: 123.8 kB / 1.441 GB, free: 8.398 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/1.042, allocations: 4 kB / 1.441 GB, free: 8.395 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006939/1.042, allocations: 75.58 kB / 1.441 GB, free: 8.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/1.042, allocations: 20 kB / 1.441 GB, free: 8.301 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007769/1.043, allocations: 0.4932 MB / 1.442 GB, free: 7.805 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005597/1.044, allocations: 359.5 kB / 1.442 GB, free: 7.422 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001007/1.045, allocations: 0.5735 MB / 1.443 GB, free: 6.836 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/1.045, allocations: 0 / 1.443 GB, free: 6.836 MB / 1.17 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001248/1.046, allocations: 0.7364 MB / 1.443 GB, free: 6.09 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.046, allocations: 4 kB / 1.443 GB, free: 6.086 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.046, allocations: 11.92 kB / 1.443 GB, free: 6.074 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/1.046, allocations: 4 kB / 1.443 GB, free: 6.07 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/1.047, allocations: 123.8 kB / 1.444 GB, free: 5.949 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.047, allocations: 8.125 kB / 1.444 GB, free: 5.941 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/1.047, allocations: 59.67 kB / 1.444 GB, free: 5.883 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/1.047, allocations: 27.98 kB / 1.444 GB, free: 5.855 MB / 1.17 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.0001599/1.048, allocations: 216.1 kB / 1.444 GB, free: 5.637 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/1.048, allocations: 107.3 kB / 1.444 GB, free: 5.531 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/1.049, allocations: 0.7354 MB / 1.445 GB, free: 4.789 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.049, allocations: 8.188 kB / 1.445 GB, free: 4.781 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.049, allocations: 4 kB / 1.445 GB, free: 4.777 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001158/1.05, allocations: 0.9072 MB / 1.446 GB, free: 3.785 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/1.053, allocations: 2.247 MB / 1.448 GB, free: 1.398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.053, allocations: 4.406 kB / 1.448 GB, free: 1.395 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000642/1.054, allocations: 139.8 kB / 1.448 GB, free: 1.258 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/1.054, allocations: 4 kB / 1.448 GB, free: 1.254 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/1.054, allocations: 19.98 kB / 1.448 GB, free: 1.234 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/1.054, allocations: 4 kB / 1.448 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.054, allocations: 7.938 kB / 1.448 GB, free: 1.223 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/1.056, allocations: 1.235 MB / 1.449 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/1.056, allocations: 268.3 kB / 1.449 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/1.057, allocations: 15.98 kB / 1.449 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/1.057, allocations: 39.97 kB / 1.449 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.057, allocations: 44.31 kB / 1.45 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/1.057, allocations: 31.98 kB / 1.45 GB, free: 15.52 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007219/1.058, allocations: 0.5861 MB / 1.45 GB, free: 14.92 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.71e-07/1.058, allocations: 0 / 1.45 GB, free: 14.92 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001134/1.059, allocations: 0.5381 MB / 1.451 GB, free: 14.38 MB / 1.186 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.00244/1.062, allocations: 1.909 MB / 1.453 GB, free: 12.42 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001741/1.063, allocations: 0.9432 MB / 1.453 GB, free: 11.48 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.063, allocations: 8.062 kB / 1.453 GB, free: 11.47 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005811/1.064, allocations: 342.1 kB / 1.454 GB, free: 11.13 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/1.067, allocations: 0.6018 MB / 1.454 GB, free: 10.54 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.077, allocations: 7.638 MB / 1.462 GB, free: 2.676 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007365/1.078, allocations: 1.124 MB / 1.463 GB, free: 1.516 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009819/1.079, allocations: 296.1 kB / 1.463 GB, free: 1.223 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/1.079, allocations: 411.3 kB / 1.464 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of SimCode: time 7.72e-07/1.079, allocations: 0 / 1.464 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05734/1.137, allocations: 29.38 MB / 1.492 GB, free: 3.816 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.246/10.38, allocations: 10.33 kB / 1.492 GB, free: 3.809 MB / 1.217 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