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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001597/0.001597, allocations: 108 kB / 15.6 MB, free: 132 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.001927/0.001927, allocations: 197 kB / 16.54 MB, free: 6.672 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 73.59 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2621, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7428/1.005, allocations: 239.9 MB / 1.298 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01044/1.015, allocations: 7.208 MB / 1.305 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/1.017, allocations: 50.34 kB / 1.305 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/1.019, allocations: 0.7078 MB / 1.306 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005254/1.024, allocations: 2.065 MB / 1.308 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005089/1.03, allocations: 2.016 MB / 1.31 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004734/1.034, allocations: 3.261 MB / 1.313 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/1.036, allocations: 1.141 MB / 1.314 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/1.04, allocations: 1.781 MB / 1.316 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/1.042, allocations: 0.9733 MB / 1.317 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002688/1.042, allocations: 121.2 kB / 1.317 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004885/1.047, allocations: 2.485 MB / 1.319 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005801/1.048, allocations: 457.6 kB / 1.32 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/1.049, allocations: 0.7172 MB / 1.32 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004316/1.053, allocations: 2.659 MB / 1.323 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.053, allocations: 0.875 kB / 1.323 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.295e-06/1.053, allocations: 3.047 kB / 1.323 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.493e-05/1.053, allocations: 0 / 1.323 GB, free: 14.75 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.002711/1.056, allocations: 1.706 MB / 1.325 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/1.056, allocations: 9.562 kB / 1.325 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/1.056, allocations: 129.6 kB / 1.325 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/1.059, allocations: 431.3 kB / 1.325 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/1.06, allocations: 0.9534 MB / 1.326 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/1.06, allocations: 64.66 kB / 1.326 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/1.061, allocations: 80.91 kB / 1.326 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/1.062, allocations: 0.8674 MB / 1.327 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/1.062, allocations: 4.156 kB / 1.327 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.578e-05/1.062, allocations: 33.58 kB / 1.327 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/1.062, allocations: 34.41 kB / 1.327 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/1.064, allocations: 0.8048 MB / 1.328 GB, free: 13.31 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.004064/1.068, allocations: 3.681 MB / 1.332 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/1.069, allocations: 1.088 MB / 1.333 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/1.07, allocations: 367.5 kB / 1.333 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005881/1.07, allocations: 412.2 kB / 1.333 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/1.07, allocations: 41.75 kB / 1.333 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 2.064e-06/1.07, allocations: 0.8125 kB / 1.333 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.001877/1.072, allocations: 0.9559 MB / 1.334 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/1.072, allocations: 58 kB / 1.334 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008867/1.073, allocations: 0.8331 MB / 1.335 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/1.073, allocations: 42.7 kB / 1.335 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/1.073, allocations: 483.2 kB / 1.336 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/1.073, allocations: 211.3 kB / 1.336 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/1.074, allocations: 111.2 kB / 1.336 GB, free: 10 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.697e-05/1.074, allocations: 334.8 kB / 1.336 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/1.074, allocations: 261 kB / 1.337 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/1.075, allocations: 369.6 kB / 1.337 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009109/1.076, allocations: 0.5873 MB / 1.337 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.076, allocations: 0 / 1.337 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001196/1.077, allocations: 0.7409 MB / 1.338 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.077, allocations: 5.031 kB / 1.338 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.077, allocations: 0 / 1.338 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.077, allocations: 5.219 kB / 1.338 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/1.077, allocations: 128.6 kB / 1.338 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.077, allocations: 2.719 kB / 1.338 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007955/1.078, allocations: 77.52 kB / 1.338 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/1.078, allocations: 21.16 kB / 1.338 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008952/1.079, allocations: 499.5 kB / 1.339 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006303/1.08, allocations: 365.9 kB / 1.339 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008833/1.081, allocations: 0.5741 MB / 1.34 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/1.081, allocations: 2.625 kB / 1.34 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001151/1.082, allocations: 0.7193 MB / 1.341 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/1.082, allocations: 11.34 kB / 1.341 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.082, allocations: 3.25 kB / 1.341 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.009e-06/1.082, allocations: 3.406 kB / 1.341 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/1.082, allocations: 127.6 kB / 1.341 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.082, allocations: 3.438 kB / 1.341 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007469/1.083, allocations: 64.95 kB / 1.341 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/1.083, allocations: 18.53 kB / 1.341 GB, free: 9.051 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.0001506/1.083, allocations: 223.6 kB / 1.341 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/1.084, allocations: 105.6 kB / 1.341 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/1.085, allocations: 0.7386 MB / 1.342 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/1.085, allocations: 10.86 kB / 1.342 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.085, allocations: 4 kB / 1.342 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009723/1.086, allocations: 0.9048 MB / 1.343 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/1.089, allocations: 2.241 MB / 1.345 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.089, allocations: 3.219 kB / 1.345 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/1.089, allocations: 138.5 kB / 1.345 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/1.089, allocations: 7.328 kB / 1.345 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/1.089, allocations: 26.19 kB / 1.345 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/1.089, allocations: 5.062 kB / 1.345 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.089, allocations: 11.59 kB / 1.345 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/1.091, allocations: 1.226 MB / 1.346 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/1.091, allocations: 257.7 kB / 1.347 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/1.092, allocations: 17.81 kB / 1.347 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/1.092, allocations: 42.09 kB / 1.347 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.092, allocations: 50.25 kB / 1.347 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/1.092, allocations: 27.28 kB / 1.347 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006753/1.093, allocations: 0.5844 MB / 1.347 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.9e-07/1.093, allocations: 0 / 1.347 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001264/1.094, allocations: 0.5392 MB / 1.348 GB, free: 5.531 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.002152/1.096, allocations: 1.913 MB / 1.35 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001767/1.098, allocations: 1.005 MB / 1.351 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.098, allocations: 0 / 1.351 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005194/1.099, allocations: 345.1 kB / 1.351 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/1.101, allocations: 0.5991 MB / 1.351 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009417/1.111, allocations: 8.013 MB / 1.359 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/1.112, allocations: 1.128 MB / 1.36 GB, free: 14.49 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001256/1.113, allocations: 301.2 kB / 1.361 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/1.113, allocations: 411.5 kB / 1.361 GB, free: 14.12 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.113, allocations: 3.938 kB / 1.361 GB, free: 14.12 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05416/1.168, allocations: 29.12 MB / 1.39 GB, free: 10.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/9.283, allocations: 15.75 kB / 1.39 GB, free: 10.96 MB / 1.029 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