Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00103/0.00103, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001196/0.001196, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.474/2.474, allocations: 390.9 MB / 0.666 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003796, allocations: 8 kB / 0.8153 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9377/0.9381, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2795/1.218, allocations: 218.8 MB / 1.168 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01219/1.23, allocations: 6.817 MB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/1.232, allocations: 43.69 kB / 1.175 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0018/1.234, allocations: 464.9 kB / 1.175 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005928/1.24, allocations: 1.535 MB / 1.177 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004877/1.244, allocations: 1.443 MB / 1.178 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006013/1.25, allocations: 3.779 MB / 1.182 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/1.252, allocations: 0.8042 MB / 1.183 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/1.257, allocations: 1.439 MB / 1.184 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/1.26, allocations: 0.9065 MB / 1.185 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/1.26, allocations: 48 kB / 1.185 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004404/1.264, allocations: 1.387 MB / 1.186 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005679/1.265, allocations: 382.7 kB / 1.187 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005945/1.265, allocations: 285.1 kB / 1.187 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/1.268, allocations: 1.793 MB / 1.189 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.268, allocations: 0 / 1.189 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.497e-06/1.268, allocations: 0 / 1.189 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.705e-05/1.268, allocations: 3.938 kB / 1.189 GB, free: 14.98 MB / 0.9512 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.002833/1.271, allocations: 1.487 MB / 1.19 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.271, allocations: 8.031 kB / 1.19 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/1.274, allocations: 421.9 kB / 1.191 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/1.275, allocations: 0.9257 MB / 1.192 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/1.275, allocations: 66 kB / 1.192 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/1.276, allocations: 91.97 kB / 1.192 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/1.277, allocations: 0.8701 MB / 1.193 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.277, allocations: 0 / 1.193 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/1.277, allocations: 31.95 kB / 1.193 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/1.277, allocations: 34 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/1.279, allocations: 0.8237 MB / 1.193 GB, free: 10.13 MB / 0.9512 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.004871/1.284, allocations: 3.65 MB / 1.197 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/1.285, allocations: 1.097 MB / 1.198 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007067/1.286, allocations: 382.2 kB / 1.198 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007542/1.287, allocations: 420.9 kB / 1.199 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/1.287, allocations: 39.12 kB / 1.199 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 4.048e-06/1.287, allocations: 4 kB / 1.199 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.002219/1.289, allocations: 0.9896 MB / 1.2 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/1.289, allocations: 59.97 kB / 1.2 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.29, allocations: 0.8204 MB / 1.201 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/1.29, allocations: 41.7 kB / 1.201 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/1.291, allocations: 480.2 kB / 1.201 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/1.291, allocations: 208.9 kB / 1.201 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/1.291, allocations: 16 kB / 1.201 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.291, allocations: 333.9 kB / 1.202 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/1.292, allocations: 253 kB / 1.202 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/1.292, allocations: 371.4 kB / 1.202 GB, free: 448 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/1.293, allocations: 302.1 kB / 1.203 GB, free: 148 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.293, allocations: 0 / 1.203 GB, free: 148 kB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001429/1.294, allocations: 0.7516 MB / 1.203 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.797e-05/1.294, allocations: 114.7 kB / 1.203 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.294, allocations: 4 kB / 1.203 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.294, allocations: 8.094 kB / 1.203 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/1.295, allocations: 131.8 kB / 1.204 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.295, allocations: 4 kB / 1.204 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000898/1.296, allocations: 131.3 kB / 1.204 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/1.296, allocations: 23.98 kB / 1.204 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/1.296, allocations: 7.953 kB / 1.204 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001089/1.297, allocations: 0.6261 MB / 1.204 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/1.297, allocations: 4.125 kB / 1.204 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/1.297, allocations: 8 kB / 1.204 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/1.298, allocations: 135.8 kB / 1.204 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/1.298, allocations: 0 / 1.204 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007885/1.299, allocations: 131.4 kB / 1.205 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/1.299, allocations: 24.08 kB / 1.205 GB, free: 14.03 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005385/1.299, allocations: 392.8 kB / 1.205 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/1.299, allocations: 102.7 kB / 1.205 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/1.301, allocations: 0.7626 MB / 1.206 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.301, allocations: 4 kB / 1.206 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.301, allocations: 3.938 kB / 1.206 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001292/1.302, allocations: 0.9229 MB / 1.207 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/1.305, allocations: 2.267 MB / 1.209 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.306, allocations: 4 kB / 1.209 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006478/1.306, allocations: 135.8 kB / 1.209 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/1.306, allocations: 11.97 kB / 1.209 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/1.306, allocations: 16 kB / 1.209 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/1.306, allocations: 11.95 kB / 1.209 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.306, allocations: 16.16 kB / 1.209 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/1.308, allocations: 1.256 MB / 1.21 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/1.309, allocations: 259.7 kB / 1.211 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.309, allocations: 16 kB / 1.211 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007458/1.31, allocations: 91.91 kB / 1.211 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/1.31, allocations: 52.33 kB / 1.211 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/1.31, allocations: 20 kB / 1.211 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008006/1.311, allocations: 0.5784 MB / 1.211 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.843e-06/1.311, allocations: 4 kB / 1.211 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001342/1.312, allocations: 0.5376 MB / 1.212 GB, free: 6.25 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005612/1.313, allocations: 240.1 kB / 1.212 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001918/1.314, allocations: 0.9585 MB / 1.213 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.314, allocations: 0 / 1.213 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005916/1.315, allocations: 351.2 kB / 1.213 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/1.318, allocations: 0.6375 MB / 1.214 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/1.322, allocations: 2.635 MB / 1.217 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009987/1.323, allocations: 1.128 MB / 1.218 GB, free: 228 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001357/1.324, allocations: 304.2 kB / 1.218 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/1.324, allocations: 79.38 kB / 1.218 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of SimCode: time 1.152e-06/1.324, allocations: 0 / 1.218 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.03681/1.361, allocations: 19.06 MB / 1.237 GB, free: 13.07 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches