Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_latest_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.00817/0.00817, allocations: 97.34 kB / 15.73 MB, free: 6.055 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.001912/0.001912, allocations: 194.7 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.552/2.552, allocations: 469.4 MB / 0.7422 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.91 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7591/0.7611, allocations: 159.1 MB / 1.22 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2236/0.9847, allocations: 239.9 MB / 1.454 GB, free: 1.438 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.9956, allocations: 7.205 MB / 1.461 GB, free: 10.22 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.9971, allocations: 47.69 kB / 1.461 GB, free: 10.17 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.9989, allocations: 0.7222 MB / 1.462 GB, free: 9.441 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004889/1.004, allocations: 2.17 MB / 1.464 GB, free: 7.266 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004684/1.009, allocations: 2.064 MB / 1.466 GB, free: 5.211 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004246/1.013, allocations: 3.289 MB / 1.469 GB, free: 1.91 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/1.014, allocations: 1.13 MB / 1.47 GB, free: 0.7578 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003757/1.018, allocations: 1.857 MB / 1.472 GB, free: 14.89 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/1.02, allocations: 0.9665 MB / 1.473 GB, free: 13.93 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002161/1.02, allocations: 120 kB / 1.473 GB, free: 13.81 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004389/1.025, allocations: 2.498 MB / 1.476 GB, free: 11.3 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004727/1.025, allocations: 458.7 kB / 1.476 GB, free: 10.86 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008673/1.026, allocations: 0.7232 MB / 1.477 GB, free: 10.13 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004056/1.03, allocations: 2.687 MB / 1.479 GB, free: 7.434 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.03, allocations: 0 / 1.479 GB, free: 7.434 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.865e-06/1.03, allocations: 4 kB / 1.479 GB, free: 7.43 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.827e-05/1.03, allocations: 3.938 kB / 1.479 GB, free: 7.426 MB / 1.201 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.002758/1.033, allocations: 1.746 MB / 1.481 GB, free: 5.621 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/1.033, allocations: 8.625 kB / 1.481 GB, free: 5.613 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/1.033, allocations: 134.8 kB / 1.481 GB, free: 5.473 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/1.036, allocations: 434.7 kB / 1.482 GB, free: 5.047 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1.038, allocations: 1.027 MB / 1.483 GB, free: 3.977 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/1.038, allocations: 62 kB / 1.483 GB, free: 3.918 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/1.038, allocations: 87.95 kB / 1.483 GB, free: 3.832 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/1.04, allocations: 0.8702 MB / 1.484 GB, free: 2.957 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/1.04, allocations: 3.984 kB / 1.484 GB, free: 2.953 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.858e-05/1.04, allocations: 28 kB / 1.484 GB, free: 2.926 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/1.04, allocations: 33.98 kB / 1.484 GB, free: 2.891 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/1.041, allocations: 0.8042 MB / 1.484 GB, free: 2.086 MB / 1.201 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.004586/1.046, allocations: 3.648 MB / 1.488 GB, free: 14.14 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/1.047, allocations: 1.093 MB / 1.489 GB, free: 12.94 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/1.048, allocations: 371.5 kB / 1.489 GB, free: 12.57 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/1.049, allocations: 408.9 kB / 1.49 GB, free: 12.1 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/1.049, allocations: 43.12 kB / 1.49 GB, free: 12.05 MB / 1.217 GB Notification: Performance of pre-optimization done (n=60): time 2.655e-06/1.049, allocations: 3.938 kB / 1.49 GB, free: 12.05 MB / 1.217 GB Notification: Performance of matching and sorting (n=60): time 0.002103/1.051, allocations: 0.9629 MB / 1.491 GB, free: 11.08 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/1.051, allocations: 63.97 kB / 1.491 GB, free: 11 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.052, allocations: 0.836 MB / 1.492 GB, free: 10.14 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/1.052, allocations: 41.7 kB / 1.492 GB, free: 10.1 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/1.052, allocations: 480.8 kB / 1.492 GB, free: 9.621 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/1.052, allocations: 226.1 kB / 1.492 GB, free: 9.398 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/1.053, allocations: 110.2 kB / 1.492 GB, free: 9.285 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/1.053, allocations: 329.9 kB / 1.493 GB, free: 8.957 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/1.053, allocations: 255 kB / 1.493 GB, free: 8.707 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/1.054, allocations: 371.5 kB / 1.493 GB, free: 8.309 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/1.055, allocations: 0.5852 MB / 1.494 GB, free: 7.707 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.055, allocations: 96 / 1.494 GB, free: 7.707 MB / 1.217 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001349/1.056, allocations: 0.7481 MB / 1.495 GB, free: 6.953 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.056, allocations: 8 kB / 1.495 GB, free: 6.945 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.056, allocations: 0 / 1.495 GB, free: 6.945 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.056, allocations: 4 kB / 1.495 GB, free: 6.941 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/1.057, allocations: 123.8 kB / 1.495 GB, free: 6.82 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/1.057, allocations: 4 kB / 1.495 GB, free: 6.816 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007664/1.058, allocations: 79.67 kB / 1.495 GB, free: 6.738 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/1.058, allocations: 20 kB / 1.495 GB, free: 6.719 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007969/1.058, allocations: 0.4893 MB / 1.495 GB, free: 6.227 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005467/1.059, allocations: 363.5 kB / 1.496 GB, free: 5.836 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001001/1.06, allocations: 0.5774 MB / 1.496 GB, free: 5.242 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/1.06, allocations: 0 / 1.496 GB, free: 5.242 MB / 1.217 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001277/1.061, allocations: 0.7286 MB / 1.497 GB, free: 4.508 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.061, allocations: 8 kB / 1.497 GB, free: 4.5 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/1.061, allocations: 0 / 1.497 GB, free: 4.5 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/1.061, allocations: 8.125 kB / 1.497 GB, free: 4.492 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/1.062, allocations: 131.8 kB / 1.497 GB, free: 4.363 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.062, allocations: 4 kB / 1.497 GB, free: 4.359 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000749/1.063, allocations: 71.62 kB / 1.497 GB, free: 4.289 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/1.063, allocations: 23.98 kB / 1.497 GB, free: 4.266 MB / 1.217 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.0001831/1.063, allocations: 212.1 kB / 1.497 GB, free: 4.051 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/1.063, allocations: 111.3 kB / 1.498 GB, free: 3.941 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/1.065, allocations: 0.7353 MB / 1.498 GB, free: 3.203 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/1.065, allocations: 8 kB / 1.498 GB, free: 3.195 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.065, allocations: 0 / 1.498 GB, free: 3.195 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/1.066, allocations: 0.9073 MB / 1.499 GB, free: 2.203 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/1.069, allocations: 2.251 MB / 1.501 GB, free: 15.81 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.069, allocations: 4 kB / 1.501 GB, free: 15.81 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/1.07, allocations: 135.8 kB / 1.502 GB, free: 15.68 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.07, allocations: 4 kB / 1.502 GB, free: 15.67 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/1.07, allocations: 23.98 kB / 1.502 GB, free: 15.65 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/1.07, allocations: 8 kB / 1.502 GB, free: 15.64 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.07, allocations: 7.938 kB / 1.502 GB, free: 15.63 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/1.072, allocations: 1.235 MB / 1.503 GB, free: 14.34 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/1.072, allocations: 264.3 kB / 1.503 GB, free: 14.06 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/1.072, allocations: 19.98 kB / 1.503 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/1.073, allocations: 31.97 kB / 1.503 GB, free: 14.01 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.073, allocations: 60.25 kB / 1.503 GB, free: 13.95 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/1.073, allocations: 23.98 kB / 1.503 GB, free: 13.93 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000736/1.074, allocations: 0.5862 MB / 1.504 GB, free: 13.33 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.7e-07/1.074, allocations: 0 / 1.504 GB, free: 13.33 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001149/1.075, allocations: 0.5303 MB / 1.504 GB, free: 12.8 MB / 1.232 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.00242/1.077, allocations: 1.924 MB / 1.506 GB, free: 10.82 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001741/1.079, allocations: 0.9467 MB / 1.507 GB, free: 9.871 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.079, allocations: 4 kB / 1.507 GB, free: 9.867 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005836/1.08, allocations: 343.3 kB / 1.507 GB, free: 9.531 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/1.082, allocations: 0.5956 MB / 1.508 GB, free: 8.945 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009908/1.092, allocations: 7.623 MB / 1.515 GB, free: 1.094 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/1.093, allocations: 1.124 MB / 1.516 GB, free: 15.94 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009425/1.094, allocations: 304.1 kB / 1.517 GB, free: 15.64 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/1.094, allocations: 415.3 kB / 1.517 GB, free: 15.23 MB / 1.248 GB Notification: Performance of SimCode: time 7.01e-07/1.094, allocations: 0 / 1.517 GB, free: 15.23 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/1.205, allocations: 29.36 MB / 1.546 GB, free: 2.301 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.8, allocations: 12.69 kB / 1.546 GB, free: 2.293 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches