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.001432/0.001432, 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.001617/0.001617, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.501/2.501, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.4989, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2145/0.7134, allocations: 239.9 MB / 1.252 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4647/1.178, allocations: 7.189 MB / 1.259 GB, free: 19.94 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009739/1.179, allocations: 55.47 kB / 1.259 GB, free: 19.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/1.181, allocations: 0.6938 MB / 1.259 GB, free: 19.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004158/1.185, allocations: 2.07 MB / 1.261 GB, free: 19.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004274/1.189, allocations: 2.023 MB / 1.263 GB, free: 19.8 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003798/1.193, allocations: 3.27 MB / 1.267 GB, free: 19.8 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/1.194, allocations: 1.131 MB / 1.268 GB, free: 19.7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/1.198, allocations: 1.778 MB / 1.269 GB, free: 19.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/1.2, allocations: 0.9686 MB / 1.27 GB, free: 19.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002612/1.2, allocations: 121.2 kB / 1.271 GB, free: 19.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004467/1.204, allocations: 2.493 MB / 1.273 GB, free: 19.65 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004646/1.205, allocations: 461.7 kB / 1.273 GB, free: 19.65 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007533/1.206, allocations: 0.7216 MB / 1.274 GB, free: 19.65 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003234/1.209, allocations: 2.651 MB / 1.277 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/1.209, allocations: 0.9375 kB / 1.277 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.253e-06/1.209, allocations: 0 / 1.277 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.513e-05/1.209, allocations: 0 / 1.277 GB, free: 19.51 MB / 0.9981 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.002375/1.211, allocations: 1.715 MB / 1.278 GB, free: 18.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/1.211, allocations: 10.56 kB / 1.278 GB, free: 18.61 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/1.212, allocations: 130.3 kB / 1.278 GB, free: 18.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/1.214, allocations: 422.7 kB / 1.279 GB, free: 18.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/1.215, allocations: 0.9633 MB / 1.28 GB, free: 18.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/1.215, allocations: 61 kB / 1.28 GB, free: 18.14 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/1.216, allocations: 86.69 kB / 1.28 GB, free: 18.14 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/1.217, allocations: 0.8598 MB / 1.281 GB, free: 18.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/1.217, allocations: 4.125 kB / 1.281 GB, free: 18.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-05/1.217, allocations: 32.22 kB / 1.281 GB, free: 18.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/1.217, allocations: 32.09 kB / 1.281 GB, free: 18.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/1.218, allocations: 0.8052 MB / 1.282 GB, free: 18.07 MB / 0.9981 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.003696/1.222, allocations: 3.675 MB / 1.285 GB, free: 16.46 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/1.223, allocations: 1.097 MB / 1.286 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/1.224, allocations: 369.9 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/1.225, allocations: 408.2 kB / 1.287 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/1.225, allocations: 37.91 kB / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 2.685e-06/1.225, allocations: 2.25 kB / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.001873/1.226, allocations: 0.9638 MB / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/1.226, allocations: 65.47 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008089/1.227, allocations: 0.8341 MB / 1.289 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/1.227, allocations: 41.7 kB / 1.289 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/1.228, allocations: 474.8 kB / 1.289 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/1.228, allocations: 213.7 kB / 1.29 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/1.228, allocations: 118.8 kB / 1.29 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.146e-05/1.228, allocations: 325.2 kB / 1.29 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/1.228, allocations: 254.5 kB / 1.29 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/1.229, allocations: 372 kB / 1.291 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/1.23, allocations: 0.5868 MB / 1.291 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.23, allocations: 1.203 kB / 1.291 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001124/1.231, allocations: 0.7372 MB / 1.292 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.231, allocations: 3.938 kB / 1.292 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.231, allocations: 6.812 kB / 1.292 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.231, allocations: 2.906 kB / 1.292 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/1.232, allocations: 128.3 kB / 1.292 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/1.232, allocations: 3.812 kB / 1.292 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/1.232, allocations: 71.98 kB / 1.292 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/1.232, allocations: 20.41 kB / 1.292 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006473/1.233, allocations: 498.4 kB / 1.293 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000465/1.233, allocations: 361.8 kB / 1.293 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008628/1.234, allocations: 0.5817 MB / 1.294 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/1.234, allocations: 0.9062 kB / 1.294 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00107/1.235, allocations: 0.7234 MB / 1.294 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/1.235, allocations: 5.375 kB / 1.294 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.235, allocations: 3.562 kB / 1.294 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/1.235, allocations: 7.578 kB / 1.294 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/1.236, allocations: 126.3 kB / 1.294 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.236, allocations: 8.375 kB / 1.294 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006725/1.237, allocations: 63.03 kB / 1.294 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/1.237, allocations: 16.78 kB / 1.294 GB, free: 13.85 MB / 0.9981 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.000135/1.237, allocations: 218.4 kB / 1.295 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/1.237, allocations: 105.7 kB / 1.295 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/1.238, allocations: 0.7448 MB / 1.296 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/1.238, allocations: 5.031 kB / 1.296 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.238, allocations: 0.9062 kB / 1.296 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009642/1.239, allocations: 0.9042 MB / 1.296 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/1.242, allocations: 2.253 MB / 1.299 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/1.242, allocations: 3.25 kB / 1.299 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/1.242, allocations: 133.8 kB / 1.299 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.242, allocations: 6.031 kB / 1.299 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/1.243, allocations: 22.66 kB / 1.299 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.243, allocations: 13.84 kB / 1.299 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.243, allocations: 8.859 kB / 1.299 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/1.244, allocations: 1.22 MB / 1.3 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/1.245, allocations: 256.8 kB / 1.3 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/1.245, allocations: 24.41 kB / 1.3 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/1.245, allocations: 44.75 kB / 1.3 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/1.245, allocations: 48.39 kB / 1.3 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/1.245, allocations: 25.42 kB / 1.3 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006015/1.246, allocations: 0.588 MB / 1.301 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.246, allocations: 0 / 1.301 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001051/1.247, allocations: 0.5346 MB / 1.301 GB, free: 11.77 MB / 0.9981 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.002044/1.249, allocations: 1.918 MB / 1.303 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001708/1.251, allocations: 1.006 MB / 1.304 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.251, allocations: 0.875 kB / 1.304 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005059/1.251, allocations: 344.6 kB / 1.305 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/1.254, allocations: 0.5917 MB / 1.305 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008556/1.262, allocations: 7.999 MB / 1.313 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/1.263, allocations: 1.124 MB / 1.314 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001025/1.264, allocations: 299.7 kB / 1.314 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/1.264, allocations: 412.9 kB / 1.315 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.265, allocations: 0 / 1.315 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.048/1.313, allocations: 29.15 MB / 1.343 GB, free: 15.03 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/9.103, allocations: 6.688 kB / 1.343 GB, free: 15.03 MB / 1.014 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