Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 172.1 kB / 16.12 MB, free: 5.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 222.3 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008781/0.000878, allocations: 91.94 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.6742/0.6742, allocations: 89.62 MB / 408.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003592, allocations: 15.94 kB / 485.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.301, allocations: 66.01 MB / 0.5383 GB, free: 34.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.395/6.696, allocations: 3.553 GB / 4.092 GB, free: 33.59 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/6.696, allocations: 87.94 kB / 4.092 GB, free: 33.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.4/11.1, allocations: 1.428 GB / 5.52 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.054e-06/11.1, allocations: 0 / 5.52 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001682/11.1, allocations: 71.91 kB / 5.52 GB, free: 11.83 MB / 0.6511 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.01781/11.11, allocations: 5.512 MB / 5.525 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/11.11, allocations: 8.031 kB / 5.525 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/11.12, allocations: 0.5817 MB / 5.526 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/11.12, allocations: 1.292 MB / 5.527 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/11.12, allocations: 168.5 kB / 5.527 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003262/11.12, allocations: 235.8 kB / 5.527 GB, free: 3.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005981/11.13, allocations: 2.901 MB / 5.53 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.296e-05/11.13, allocations: 11.88 kB / 5.53 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/11.13, allocations: 95.94 kB / 5.53 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/11.13, allocations: 67.98 kB / 5.53 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005386/11.13, allocations: 2.455 MB / 5.533 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/11.15, allocations: 12.64 MB / 5.545 GB, free: 344 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4129/11.56, allocations: 2.215 MB / 5.547 GB, free: 49.84 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/11.56, allocations: 1.127 MB / 5.548 GB, free: 49.79 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05084/11.61, allocations: 32.17 MB / 5.58 GB, free: 30.28 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/11.61, allocations: 61.59 kB / 5.58 GB, free: 30.24 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=226): time 4.428e-06/11.61, allocations: 0.75 kB / 5.58 GB, free: 30.24 MB / 0.6667 GB Notification: Performance of matching and sorting (n=226): time 0.01187/11.62, allocations: 4.656 MB / 5.585 GB, free: 29.54 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/11.62, allocations: 204.3 kB / 5.585 GB, free: 29.32 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/11.62, allocations: 1.126 MB / 5.586 GB, free: 29.16 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/11.62, allocations: 61.02 kB / 5.586 GB, free: 29.13 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/11.62, allocations: 0.8783 MB / 5.587 GB, free: 28.97 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006024/11.63, allocations: 0.7432 MB / 5.587 GB, free: 28.58 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/11.63, allocations: 34.84 kB / 5.587 GB, free: 28.58 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001057/11.63, allocations: 383.7 kB / 5.588 GB, free: 28.28 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/11.63, allocations: 0.699 MB / 5.589 GB, free: 28.27 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/11.63, allocations: 0.9454 MB / 5.589 GB, free: 28.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/11.63, allocations: 1.799 MB / 5.591 GB, free: 27.84 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/11.63, allocations: 3.969 kB / 5.591 GB, free: 27.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.003859/11.63, allocations: 2.351 MB / 5.594 GB, free: 27.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/11.63, allocations: 12.66 kB / 5.594 GB, free: 27.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/11.63, allocations: 3.625 kB / 5.594 GB, free: 27.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007863/11.64, allocations: 300 kB / 5.594 GB, free: 27.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/11.64, allocations: 363.8 kB / 5.594 GB, free: 27.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005188/11.64, allocations: 8.941 MB / 5.603 GB, free: 20.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/11.64, allocations: 227.8 kB / 5.603 GB, free: 19.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/11.64, allocations: 79.44 kB / 5.603 GB, free: 19.96 MB / 0.6667 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.0009423/11.64, allocations: 410.3 kB / 5.604 GB, free: 19.84 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/11.65, allocations: 195.6 kB / 5.604 GB, free: 19.74 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006761/11.65, allocations: 6.153 MB / 5.61 GB, free: 19.18 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.817e-05/11.65, allocations: 72.73 kB / 5.61 GB, free: 19.18 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/11.65, allocations: 9.594 kB / 5.61 GB, free: 19.18 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/11.65, allocations: 14.05 kB / 5.61 GB, free: 19.18 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/11.66, allocations: 9.499 MB / 5.619 GB, free: 18.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/11.66, allocations: 8.922 kB / 5.619 GB, free: 18.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/11.66, allocations: 310.5 kB / 5.619 GB, free: 18.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000738/11.66, allocations: 313.2 kB / 5.62 GB, free: 18.07 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/11.66, allocations: 71.5 kB / 5.62 GB, free: 18.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006388/11.67, allocations: 8.946 MB / 5.629 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/11.67, allocations: 5.938 kB / 5.629 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007579/11.68, allocations: 5.798 MB / 5.634 GB, free: 25.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007763/11.68, allocations: 390.6 kB / 5.635 GB, free: 25.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/11.68, allocations: 46 kB / 5.635 GB, free: 25.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/11.68, allocations: 138.7 kB / 5.635 GB, free: 25.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/11.68, allocations: 179.2 kB / 5.635 GB, free: 25.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/11.68, allocations: 78.02 kB / 5.635 GB, free: 25.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009042/11.68, allocations: 0.7355 MB / 5.636 GB, free: 25.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/11.68, allocations: 0 / 5.636 GB, free: 25.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00682/11.69, allocations: 1.901 MB / 5.638 GB, free: 24.89 MB / 0.6823 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.008618/11.7, allocations: 3.383 MB / 5.641 GB, free: 24.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005394/11.7, allocations: 3.412 MB / 5.644 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/11.7, allocations: 0 / 5.644 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/11.71, allocations: 2.793 MB / 5.647 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004288/11.71, allocations: 0.7077 MB / 5.648 GB, free: 22.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/11.72, allocations: 7.636 MB / 5.655 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/11.72, allocations: 1.851 MB / 5.657 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001636/11.72, allocations: 0.7274 MB / 5.658 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/11.72, allocations: 161.4 kB / 5.658 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/11.72, allocations: 1.969 kB / 5.658 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of Templates: time 0.1143/11.84, allocations: 90.25 MB / 5.746 GB, free: 11.56 MB / 0.6823 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.DynamicBoundaries_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches