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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-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.01399/0.01399, allocations: 171.2 kB / 15.11 MB, free: 5.973 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.877/1.877, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.001187/0.001187, allocations: 86.86 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9932/0.9932, allocations: 90.6 MB / 408.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004811, allocations: 8 kB / 485.2 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5663/0.5669, allocations: 66.28 MB / 0.5386 GB, free: 45.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.843/9.41, allocations: 3.553 GB / 4.092 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/9.41, allocations: 80.53 kB / 4.092 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.756/15.17, allocations: 1.496 GB / 5.588 GB, free: 31.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.757e-06/15.17, allocations: 0 / 5.588 GB, free: 31.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004184/15.17, allocations: 79.97 kB / 5.588 GB, free: 31.81 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.02541/15.19, allocations: 5.533 MB / 5.594 GB, free: 26.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/15.19, allocations: 15.5 kB / 5.594 GB, free: 26.82 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004057/15.2, allocations: 0.5721 MB / 5.594 GB, free: 26.33 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003738/15.2, allocations: 1.249 MB / 5.595 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/15.2, allocations: 168.5 kB / 5.596 GB, free: 24.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009087/15.2, allocations: 231.9 kB / 5.596 GB, free: 24.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008244/15.21, allocations: 2.882 MB / 5.599 GB, free: 21.69 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.99e-05/15.21, allocations: 0 / 5.599 GB, free: 21.69 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003699/15.21, allocations: 92 kB / 5.599 GB, free: 21.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.982e-05/15.21, allocations: 75.94 kB / 5.599 GB, free: 21.53 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005875/15.22, allocations: 2.459 MB / 5.601 GB, free: 19.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01817/15.23, allocations: 12.65 MB / 5.613 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005237/15.24, allocations: 2.217 MB / 5.616 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5665/15.81, allocations: 32.17 MB / 5.647 GB, free: 41.99 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/15.81, allocations: 63.59 kB / 5.647 GB, free: 41.95 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=226): time 4.709e-06/15.81, allocations: 1.312 kB / 5.647 GB, free: 41.95 MB / 0.6667 GB Notification: Performance of matching and sorting (n=226): time 0.0123/15.82, allocations: 5.124 MB / 5.652 GB, free: 40.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/15.82, allocations: 206.7 kB / 5.652 GB, free: 40.48 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/15.82, allocations: 0.9703 MB / 5.653 GB, free: 40.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/15.82, allocations: 61.95 kB / 5.653 GB, free: 40.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008546/15.82, allocations: 0.8702 MB / 5.654 GB, free: 40.11 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008756/15.82, allocations: 0.7563 MB / 5.655 GB, free: 39.71 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/15.82, allocations: 35.03 kB / 5.655 GB, free: 39.71 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001711/15.82, allocations: 383.5 kB / 5.655 GB, free: 39.41 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/15.83, allocations: 0.6924 MB / 5.656 GB, free: 39.41 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/15.83, allocations: 0.9496 MB / 5.657 GB, free: 39.19 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/15.83, allocations: 0.8185 MB / 5.658 GB, free: 39.17 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/15.83, allocations: 0 / 5.658 GB, free: 39.17 MB / 0.6667 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.005128/15.83, allocations: 2.34 MB / 5.66 GB, free: 38.94 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/15.83, allocations: 10.11 kB / 5.66 GB, free: 38.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/15.83, allocations: 11.47 kB / 5.66 GB, free: 38.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/15.84, allocations: 297.2 kB / 5.66 GB, free: 38.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/15.84, allocations: 364.7 kB / 5.661 GB, free: 38.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006562/15.84, allocations: 9.032 MB / 5.669 GB, free: 31.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/15.85, allocations: 224.8 kB / 5.67 GB, free: 31.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005429/15.85, allocations: 83.23 kB / 5.67 GB, free: 31.3 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.001913/15.85, allocations: 408.6 kB / 5.67 GB, free: 31.18 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000938/15.85, allocations: 188.1 kB / 5.67 GB, free: 31.08 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/15.86, allocations: 6.147 MB / 5.676 GB, free: 30.52 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001049/15.86, allocations: 75.38 kB / 5.676 GB, free: 30.52 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.426e-05/15.86, allocations: 8.281 kB / 5.676 GB, free: 30.52 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.103e-05/15.86, allocations: 13.7 kB / 5.676 GB, free: 30.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/15.88, allocations: 9.517 MB / 5.686 GB, free: 29.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/15.88, allocations: 3.406 kB / 5.686 GB, free: 29.42 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/15.88, allocations: 320.6 kB / 5.686 GB, free: 29.42 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009624/15.88, allocations: 313.5 kB / 5.686 GB, free: 29.37 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002573/15.88, allocations: 69.88 kB / 5.686 GB, free: 29.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006871/15.89, allocations: 9.038 MB / 5.695 GB, free: 21.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/15.89, allocations: 3.344 kB / 5.695 GB, free: 21.79 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/15.9, allocations: 5.949 MB / 5.701 GB, free: 20.56 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/15.9, allocations: 394.9 kB / 5.701 GB, free: 20.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006398/15.9, allocations: 45.28 kB / 5.701 GB, free: 20.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/15.9, allocations: 141.2 kB / 5.702 GB, free: 20.22 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005845/15.9, allocations: 174 kB / 5.702 GB, free: 20.22 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/15.9, allocations: 77.67 kB / 5.702 GB, free: 20.22 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001647/15.91, allocations: 0.7347 MB / 5.703 GB, free: 20.11 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.004e-06/15.91, allocations: 1.125 kB / 5.703 GB, free: 20.11 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01253/15.92, allocations: 1.904 MB / 5.704 GB, free: 19.97 MB / 0.6667 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.0144/15.93, allocations: 3.386 MB / 5.708 GB, free: 19.35 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006844/15.94, allocations: 3.422 MB / 5.711 GB, free: 18.39 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/15.94, allocations: 0 / 5.711 GB, free: 18.39 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004416/15.94, allocations: 2.787 MB / 5.714 GB, free: 17.47 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004948/15.95, allocations: 0.6886 MB / 5.714 GB, free: 17.47 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/15.96, allocations: 7.621 MB / 5.722 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/15.97, allocations: 1.899 MB / 5.724 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002734/15.97, allocations: 0.7317 MB / 5.724 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007471/15.97, allocations: 164.3 kB / 5.725 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of SimCode: time 1.062e-06/15.97, allocations: 0 / 5.725 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of Templates: time 0.1301/16.1, allocations: 87.68 MB / 5.81 GB, free: 7.508 MB / 0.6667 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