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.001769/0.001769, allocations: 108.6 kB / 16.41 MB, free: 6.516 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.00192/0.001921, allocations: 185.4 kB / 17.34 MB, free: 5.734 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.45/1.45, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.642/2.642, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 72.09 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.175, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2934/1.469, allocations: 239.9 MB / 1.402 GB, free: 3.09 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01404/1.483, allocations: 7.205 MB / 1.409 GB, free: 11.87 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/1.486, allocations: 51.69 kB / 1.409 GB, free: 11.82 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003716/1.49, allocations: 0.7261 MB / 1.409 GB, free: 11.09 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.007609/1.497, allocations: 2.167 MB / 1.411 GB, free: 8.914 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006063/1.503, allocations: 2.067 MB / 1.413 GB, free: 6.855 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005754/1.509, allocations: 3.281 MB / 1.417 GB, free: 3.566 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/1.512, allocations: 1.13 MB / 1.418 GB, free: 2.414 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004932/1.516, allocations: 1.849 MB / 1.42 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/1.519, allocations: 0.9653 MB / 1.421 GB, free: 15.59 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005114/1.52, allocations: 128 kB / 1.421 GB, free: 15.46 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007067/1.527, allocations: 2.498 MB / 1.423 GB, free: 12.96 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009589/1.528, allocations: 466.7 kB / 1.424 GB, free: 12.51 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/1.53, allocations: 0.7194 MB / 1.424 GB, free: 11.79 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007327/1.537, allocations: 2.687 MB / 1.427 GB, free: 9.09 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.537, allocations: 0 / 1.427 GB, free: 9.09 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.287e-06/1.537, allocations: 0 / 1.427 GB, free: 9.09 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.697e-05/1.537, allocations: 0 / 1.427 GB, free: 9.09 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.005196/1.543, allocations: 1.757 MB / 1.429 GB, free: 7.273 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/1.543, allocations: 12.86 kB / 1.429 GB, free: 7.262 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/1.546, allocations: 430.7 kB / 1.429 GB, free: 6.84 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/1.548, allocations: 1.031 MB / 1.43 GB, free: 5.766 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.008e-05/1.549, allocations: 62 kB / 1.43 GB, free: 5.707 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000268/1.549, allocations: 84 kB / 1.43 GB, free: 5.625 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/1.551, allocations: 0.8663 MB / 1.431 GB, free: 4.754 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/1.551, allocations: 3.953 kB / 1.431 GB, free: 4.75 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/1.551, allocations: 35.98 kB / 1.431 GB, free: 4.715 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.694e-05/1.551, allocations: 29.94 kB / 1.431 GB, free: 4.684 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/1.553, allocations: 0.812 MB / 1.432 GB, free: 3.871 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.006208/1.559, allocations: 3.64 MB / 1.435 GB, free: 15.93 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/1.561, allocations: 1.106 MB / 1.437 GB, free: 14.71 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006647/1.562, allocations: 367.5 kB / 1.437 GB, free: 14.35 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009215/1.563, allocations: 412.8 kB / 1.437 GB, free: 13.88 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/1.563, allocations: 39.12 kB / 1.437 GB, free: 13.83 MB / 1.17 GB Notification: Performance of pre-optimization done (n=60): time 4.849e-06/1.563, allocations: 0 / 1.437 GB, free: 13.83 MB / 1.17 GB Notification: Performance of matching and sorting (n=60): time 0.002545/1.565, allocations: 0.9629 MB / 1.438 GB, free: 12.87 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/1.565, allocations: 55.97 kB / 1.438 GB, free: 12.8 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/1.567, allocations: 0.8399 MB / 1.439 GB, free: 11.93 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.161e-05/1.567, allocations: 45.64 kB / 1.439 GB, free: 11.88 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/1.567, allocations: 484.8 kB / 1.44 GB, free: 11.4 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/1.568, allocations: 226 kB / 1.44 GB, free: 11.18 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/1.568, allocations: 106.2 kB / 1.44 GB, free: 11.07 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.568, allocations: 330 kB / 1.44 GB, free: 10.74 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/1.569, allocations: 255 kB / 1.44 GB, free: 10.49 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/1.569, allocations: 363.5 kB / 1.441 GB, free: 10.1 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/1.57, allocations: 0.593 MB / 1.441 GB, free: 9.496 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.57, allocations: 3.938 kB / 1.441 GB, free: 9.492 MB / 1.17 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001568/1.572, allocations: 0.7404 MB / 1.442 GB, free: 8.742 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/1.572, allocations: 4 kB / 1.442 GB, free: 8.738 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.572, allocations: 4 kB / 1.442 GB, free: 8.734 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/1.572, allocations: 0 / 1.442 GB, free: 8.734 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/1.573, allocations: 131.8 kB / 1.442 GB, free: 8.605 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/1.573, allocations: 4 kB / 1.442 GB, free: 8.602 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009439/1.574, allocations: 71.72 kB / 1.442 GB, free: 8.531 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/1.574, allocations: 23.98 kB / 1.442 GB, free: 8.508 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008929/1.575, allocations: 0.4893 MB / 1.443 GB, free: 8.016 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005748/1.575, allocations: 363.4 kB / 1.443 GB, free: 7.629 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001044/1.576, allocations: 0.5774 MB / 1.444 GB, free: 7.039 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/1.576, allocations: 0 / 1.444 GB, free: 7.039 MB / 1.17 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001439/1.578, allocations: 0.7211 MB / 1.444 GB, free: 6.309 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.578, allocations: 16 kB / 1.444 GB, free: 6.293 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.578, allocations: 3.938 kB / 1.444 GB, free: 6.289 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/1.578, allocations: 4 kB / 1.444 GB, free: 6.285 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/1.578, allocations: 131.9 kB / 1.445 GB, free: 6.156 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/1.578, allocations: 0 / 1.445 GB, free: 6.156 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008465/1.579, allocations: 67.67 kB / 1.445 GB, free: 6.09 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/1.579, allocations: 23.94 kB / 1.445 GB, free: 6.066 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.0002403/1.58, allocations: 216.1 kB / 1.445 GB, free: 5.848 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/1.58, allocations: 115.2 kB / 1.445 GB, free: 5.734 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/1.581, allocations: 0.7392 MB / 1.446 GB, free: 4.988 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001217/1.583, allocations: 0.8995 MB / 1.447 GB, free: 4.004 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.583, allocations: 0 / 1.447 GB, free: 4.004 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000496/1.583, allocations: 260.2 kB / 1.447 GB, free: 3.73 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/1.583, allocations: 12 kB / 1.447 GB, free: 3.719 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/1.584, allocations: 41.08 kB / 1.447 GB, free: 3.68 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.584, allocations: 40.45 kB / 1.447 GB, free: 3.641 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001792/1.586, allocations: 0.8032 MB / 1.448 GB, free: 2.832 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001983/1.588, allocations: 1.244 MB / 1.449 GB, free: 1.566 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005472/1.589, allocations: 320.3 kB / 1.449 GB, free: 1.258 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009195/1.589, allocations: 0.5862 MB / 1.45 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of Backend: time 4.61e-07/1.589, allocations: 0 / 1.45 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003906/1.593, allocations: 1.277 MB / 1.451 GB, free: 15.39 MB / 1.186 GB Notification: Performance of SimCode: time 0.005414/1.599, allocations: 2.844 MB / 1.454 GB, free: 12.49 MB / 1.186 GB Notification: Performance of Templates: time 0.05089/1.65, allocations: 27.64 MB / 1.481 GB, free: 1.105 MB / 1.201 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/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