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: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 108.6 kB / 15.73 MB, free: 72 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.001932/0.001932, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.563/1.563, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.851/2.851, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002929/0.00293, allocations: 67.89 kB / 1.019 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4441, allocations: 151.6 MB / 1.167 GB, free: 6.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.178/1.622, allocations: 239.9 MB / 1.401 GB, free: 13.08 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01545/1.638, allocations: 7.208 MB / 1.408 GB, free: 7.203 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/1.64, allocations: 50.22 kB / 1.408 GB, free: 7.184 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00253/1.643, allocations: 0.7333 MB / 1.409 GB, free: 6.57 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007128/1.65, allocations: 2.16 MB / 1.411 GB, free: 4.898 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006687/1.657, allocations: 2.059 MB / 1.413 GB, free: 3.371 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008091/1.665, allocations: 3.281 MB / 1.416 GB, free: 1.469 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002762/1.668, allocations: 1.131 MB / 1.417 GB, free: 0.7695 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005556/1.673, allocations: 1.856 MB / 1.419 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003395/1.677, allocations: 0.9695 MB / 1.42 GB, free: 15.04 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001045/1.678, allocations: 121.8 kB / 1.42 GB, free: 15.04 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007559/1.685, allocations: 2.5 MB / 1.422 GB, free: 13.64 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001131/1.686, allocations: 459.8 kB / 1.423 GB, free: 13.32 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002554/1.689, allocations: 0.7235 MB / 1.424 GB, free: 12.85 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.009307/1.698, allocations: 2.681 MB / 1.426 GB, free: 10.71 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/1.698, allocations: 0 / 1.426 GB, free: 10.71 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.526e-06/1.698, allocations: 4 kB / 1.426 GB, free: 10.71 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001086/1.699, allocations: 0 / 1.426 GB, free: 10.71 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.00567/1.704, allocations: 1.765 MB / 1.428 GB, free: 8.887 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.704, allocations: 11.97 kB / 1.428 GB, free: 8.875 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/1.707, allocations: 422.8 kB / 1.428 GB, free: 8.461 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/1.71, allocations: 1.035 MB / 1.429 GB, free: 7.383 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.688e-05/1.71, allocations: 58 kB / 1.429 GB, free: 7.328 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/1.71, allocations: 84 kB / 1.429 GB, free: 7.246 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/1.712, allocations: 0.8585 MB / 1.43 GB, free: 6.383 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/1.712, allocations: 3.953 kB / 1.43 GB, free: 6.379 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.409e-05/1.713, allocations: 40 kB / 1.43 GB, free: 6.34 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/1.713, allocations: 30 kB / 1.43 GB, free: 6.309 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.714, allocations: 0.8041 MB / 1.431 GB, free: 5.504 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.006296/1.721, allocations: 3.659 MB / 1.435 GB, free: 1.547 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/1.722, allocations: 1.093 MB / 1.436 GB, free: 348 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/1.723, allocations: 375.5 kB / 1.436 GB, free: 15.97 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007755/1.724, allocations: 404.8 kB / 1.437 GB, free: 15.5 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/1.724, allocations: 47.12 kB / 1.437 GB, free: 15.45 MB / 1.107 GB Notification: Performance of pre-optimization done (n=60): time 3.216e-06/1.724, allocations: 0 / 1.437 GB, free: 15.45 MB / 1.107 GB Notification: Performance of matching and sorting (n=60): time 0.002412/1.726, allocations: 0.9551 MB / 1.438 GB, free: 14.48 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/1.726, allocations: 59.97 kB / 1.438 GB, free: 14.41 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/1.728, allocations: 0.8399 MB / 1.438 GB, free: 13.55 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/1.728, allocations: 37.7 kB / 1.438 GB, free: 13.5 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/1.728, allocations: 492.7 kB / 1.439 GB, free: 13.02 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/1.728, allocations: 222 kB / 1.439 GB, free: 12.8 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/1.729, allocations: 114.2 kB / 1.439 GB, free: 12.68 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.729, allocations: 330 kB / 1.44 GB, free: 12.36 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/1.729, allocations: 254.9 kB / 1.44 GB, free: 12.11 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/1.73, allocations: 371.4 kB / 1.44 GB, free: 11.71 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/1.731, allocations: 0.5852 MB / 1.441 GB, free: 11.11 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.731, allocations: 0 / 1.441 GB, free: 11.11 MB / 1.107 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001415/1.732, allocations: 0.7442 MB / 1.441 GB, free: 10.36 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.732, allocations: 8 kB / 1.441 GB, free: 10.35 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.732, allocations: 0 / 1.441 GB, free: 10.35 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.732, allocations: 8.125 kB / 1.441 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/1.733, allocations: 127.8 kB / 1.442 GB, free: 10.21 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/1.733, allocations: 6.656 kB / 1.442 GB, free: 10.21 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007961/1.734, allocations: 75.58 kB / 1.442 GB, free: 10.14 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/1.734, allocations: 20 kB / 1.442 GB, free: 10.12 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00097/1.735, allocations: 0.4893 MB / 1.442 GB, free: 9.625 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006133/1.736, allocations: 359.5 kB / 1.442 GB, free: 9.242 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001032/1.737, allocations: 0.5781 MB / 1.443 GB, free: 8.652 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.409e-06/1.737, allocations: 3.984 kB / 1.443 GB, free: 8.648 MB / 1.107 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00139/1.738, allocations: 0.7248 MB / 1.444 GB, free: 7.914 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.738, allocations: 15.92 kB / 1.444 GB, free: 7.898 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/1.738, allocations: 0 / 1.444 GB, free: 7.898 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/1.738, allocations: 4 kB / 1.444 GB, free: 7.895 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/1.739, allocations: 123.8 kB / 1.444 GB, free: 7.773 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/1.739, allocations: 4 kB / 1.444 GB, free: 7.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007791/1.739, allocations: 67.86 kB / 1.444 GB, free: 7.703 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/1.739, allocations: 21.12 kB / 1.444 GB, free: 7.684 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.000248/1.74, allocations: 212.1 kB / 1.444 GB, free: 7.469 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/1.74, allocations: 111.2 kB / 1.444 GB, free: 7.359 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/1.741, allocations: 0.7446 MB / 1.445 GB, free: 6.609 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/1.741, allocations: 8 kB / 1.445 GB, free: 6.602 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.741, allocations: 0 / 1.445 GB, free: 6.602 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/1.743, allocations: 0.8995 MB / 1.446 GB, free: 5.617 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/1.746, allocations: 2.247 MB / 1.448 GB, free: 3.227 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/1.746, allocations: 7.938 kB / 1.448 GB, free: 3.219 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/1.747, allocations: 144.1 kB / 1.448 GB, free: 3.078 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/1.747, allocations: 4 kB / 1.448 GB, free: 3.074 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/1.747, allocations: 16 kB / 1.448 GB, free: 3.059 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/1.747, allocations: 11.94 kB / 1.448 GB, free: 3.047 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.747, allocations: 4 kB / 1.448 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/1.749, allocations: 1.231 MB / 1.449 GB, free: 1.754 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/1.75, allocations: 272.2 kB / 1.45 GB, free: 1.469 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/1.75, allocations: 15.98 kB / 1.45 GB, free: 1.453 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006373/1.751, allocations: 46.39 kB / 1.45 GB, free: 1.41 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.751, allocations: 56.25 kB / 1.45 GB, free: 1.355 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/1.751, allocations: 23.94 kB / 1.45 GB, free: 1.332 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008663/1.752, allocations: 0.5862 MB / 1.45 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of sort global known variables: time 2e-07/1.752, allocations: 4 kB / 1.45 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001468/1.753, allocations: 0.5341 MB / 1.451 GB, free: 200 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.00063/1.754, allocations: 240.4 kB / 1.451 GB, free: 15.96 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001851/1.756, allocations: 0.9505 MB / 1.452 GB, free: 15.02 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.756, allocations: 0 / 1.452 GB, free: 15.02 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006655/1.756, allocations: 339.2 kB / 1.452 GB, free: 14.69 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.759, allocations: 0.5961 MB / 1.453 GB, free: 14.1 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/1.763, allocations: 2.168 MB / 1.455 GB, free: 11.86 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.765, allocations: 1.124 MB / 1.456 GB, free: 10.7 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001116/1.766, allocations: 300.1 kB / 1.457 GB, free: 10.41 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/1.766, allocations: 83.42 kB / 1.457 GB, free: 10.32 MB / 1.123 GB Notification: Performance of SimCode: time 6.21e-07/1.766, allocations: 0 / 1.457 GB, free: 10.32 MB / 1.123 GB Notification: Performance of Templates: time 0.04092/1.807, allocations: 20.5 MB / 1.477 GB, free: 6.145 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (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 & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches