Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) Running command: translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00988/0.00988, allocations: 170.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 223.2 MB / 239 MB, free: 32 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001037, allocations: 99.69 kB / 290.2 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01129/0.01129, allocations: 1.559 MB / 342.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.9695/0.9695, allocations: 90.31 MB / 484.7 MB, free: 38.23 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005308/0.0005308, allocations: 16 kB / 0.5526 GB, free: 4.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4299, allocations: 69.36 MB / 0.6203 GB, free: 20.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.19/10.62, allocations: 3.774 GB / 4.394 GB, free: 35.75 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/10.62, allocations: 92.88 kB / 4.394 GB, free: 35.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.55/17.17, allocations: 1.516 GB / 5.91 GB, free: 0.5195 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.327e-06/17.17, allocations: 0 / 5.91 GB, free: 0.5195 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003837/17.17, allocations: 75.91 kB / 5.91 GB, free: 456 kB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 602 * Number of variables: 602 Notification: Performance of Generate backend data structure: time 0.02568/17.2, allocations: 5.555 MB / 5.915 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/17.2, allocations: 11.98 kB / 5.915 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004012/17.2, allocations: 0.5744 MB / 5.916 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/17.2, allocations: 1.238 MB / 5.917 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/17.2, allocations: 168.5 kB / 5.917 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003837/17.2, allocations: 231.8 kB / 5.917 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006814/17.21, allocations: 2.886 MB / 5.92 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/17.21, allocations: 4 kB / 5.92 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/17.21, allocations: 92 kB / 5.92 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.426e-05/17.21, allocations: 67.98 kB / 5.92 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005764/17.22, allocations: 2.459 MB / 5.923 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6374/17.85, allocations: 12.64 MB / 5.935 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006251/17.86, allocations: 2.224 MB / 5.937 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06365/17.92, allocations: 32.19 MB / 5.969 GB, free: 28.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.554e-05/17.92, allocations: 60.31 kB / 5.969 GB, free: 28.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=226): time 4.168e-06/17.92, allocations: 0 / 5.969 GB, free: 28.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.0132/17.94, allocations: 5.142 MB / 5.974 GB, free: 27.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/17.94, allocations: 209.7 kB / 5.974 GB, free: 27.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/17.94, allocations: 0.9776 MB / 5.975 GB, free: 26.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002413/17.94, allocations: 59.48 kB / 5.975 GB, free: 26.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005942/17.94, allocations: 0.8692 MB / 5.976 GB, free: 26.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006669/17.94, allocations: 0.7502 MB / 5.977 GB, free: 26.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/17.94, allocations: 35.72 kB / 5.977 GB, free: 26.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001727/17.94, allocations: 374.1 kB / 5.977 GB, free: 25.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/17.94, allocations: 0.6975 MB / 5.978 GB, free: 25.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/17.94, allocations: 0.9421 MB / 5.979 GB, free: 25.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/17.95, allocations: 0.8144 MB / 5.979 GB, free: 25.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/17.95, allocations: 2.75 kB / 5.979 GB, free: 25.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004443/17.95, allocations: 2.341 MB / 5.982 GB, free: 25.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/17.95, allocations: 7.25 kB / 5.982 GB, free: 25.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/17.95, allocations: 7.344 kB / 5.982 GB, free: 25.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009768/17.95, allocations: 299.7 kB / 5.982 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/17.95, allocations: 361.2 kB / 5.982 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008388/17.96, allocations: 9.036 MB / 5.991 GB, free: 17.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/17.96, allocations: 226 kB / 5.991 GB, free: 17.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/17.96, allocations: 82.44 kB / 5.991 GB, free: 17.86 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow1.inlet.state.phase,dynamicPressureInflow.inlet.state.phase,dynamicPressureInflow2.inlet.state.phase,dynamicPressureInflow3.inlet.state.phase,dynamicPressureInflow4.inlet.state.phase,dynamicPressureInflow5.inlet.state.phase,dynamicPressureInflow5.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001422/17.97, allocations: 401.5 kB / 5.992 GB, free: 17.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005824/17.97, allocations: 187.2 kB / 5.992 GB, free: 17.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008137/17.97, allocations: 6.159 MB / 5.998 GB, free: 17.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.527e-05/17.97, allocations: 78.16 kB / 5.998 GB, free: 17.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/17.97, allocations: 10.09 kB / 5.998 GB, free: 17.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.478e-05/17.97, allocations: 11.42 kB / 5.998 GB, free: 17.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/17.99, allocations: 9.513 MB / 6.007 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/17.99, allocations: 3.953 kB / 6.007 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/17.99, allocations: 313.5 kB / 6.008 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009021/17.99, allocations: 316.2 kB / 6.008 GB, free: 15.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/17.99, allocations: 69.11 kB / 6.008 GB, free: 15.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008543/18, allocations: 9.037 MB / 6.017 GB, free: 24.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/18, allocations: 3.969 kB / 6.017 GB, free: 24.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/18.01, allocations: 5.96 MB / 6.023 GB, free: 23.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/18.01, allocations: 386.3 kB / 6.023 GB, free: 22.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/18.01, allocations: 43.97 kB / 6.023 GB, free: 22.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/18.01, allocations: 142.8 kB / 6.023 GB, free: 22.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003697/18.01, allocations: 173.3 kB / 6.023 GB, free: 22.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/18.01, allocations: 80.03 kB / 6.023 GB, free: 22.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000999/18.01, allocations: 0.7371 MB / 6.024 GB, free: 22.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/18.01, allocations: 0 / 6.024 GB, free: 22.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008912/18.02, allocations: 1.903 MB / 6.026 GB, free: 22.51 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (dynamicPressureOutflow5.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow3.inlet.m_flow,dynamicPressureOutflow2.inlet.m_flow,dynamicPressureOutflow.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow) * Number of discrete variables: 42 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,dynamicPressureInflow5.inlet.state.phase,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,dynamicPressureInflow4.inlet.state.phase,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,dynamicPressureInflow3.inlet.state.phase,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,dynamicPressureInflow2.inlet.state.phase,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,dynamicPressureInflow.inlet.state.phase,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,dynamicPressureInflow1.inlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01341/18.04, allocations: 3.393 MB / 6.029 GB, free: 21.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00657/18.04, allocations: 3.419 MB / 6.033 GB, free: 20.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/18.04, allocations: 0 / 6.033 GB, free: 20.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004059/18.05, allocations: 2.78 MB / 6.035 GB, free: 20.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00408/18.05, allocations: 0.6966 MB / 6.036 GB, free: 20 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/18.06, allocations: 7.627 MB / 6.044 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/18.07, allocations: 1.908 MB / 6.045 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002074/18.07, allocations: 0.7326 MB / 6.046 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004317/18.07, allocations: 159.1 kB / 6.046 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/18.07, allocations: 0 / 6.046 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.1321/18.2, allocations: 87.71 MB / 6.132 GB, free: 9.957 MB / 0.7136 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.DynamicBoundaries_ref.mat","../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches