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.001452/0.001452, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.51/1.51, allocations: 205.2 MB / 218.5 MB, free: 9.223 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.0008729/0.0008732, allocations: 96.44 kB / 266.6 MB, free: 9.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7351/0.7351, allocations: 90.35 MB / 405 MB, free: 8.633 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.095e-05, allocations: 4 kB / 479.2 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.375, allocations: 66.26 MB / 0.5326 GB, free: 28.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.322/8.697, allocations: 3.553 GB / 4.086 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/8.697, allocations: 79.09 kB / 4.086 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.479/14.18, allocations: 1.491 GB / 5.577 GB, free: 35.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.053e-06/14.18, allocations: 1.969 kB / 5.577 GB, free: 35.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002974/14.18, allocations: 71 kB / 5.578 GB, free: 35.04 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.0223/14.2, allocations: 5.339 MB / 5.583 GB, free: 32.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/14.2, allocations: 11.16 kB / 5.583 GB, free: 32.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/14.2, allocations: 0.5764 MB / 5.583 GB, free: 32.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/14.21, allocations: 1.234 MB / 5.585 GB, free: 32.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/14.21, allocations: 167.6 kB / 5.585 GB, free: 32.07 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009457/14.21, allocations: 233 kB / 5.585 GB, free: 32.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008858/14.22, allocations: 2.922 MB / 5.588 GB, free: 31.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.019e-05/14.22, allocations: 1.5 kB / 5.588 GB, free: 31.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004538/14.22, allocations: 92.91 kB / 5.588 GB, free: 31.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.566e-05/14.22, allocations: 61.88 kB / 5.588 GB, free: 31.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005158/14.22, allocations: 2.409 MB / 5.59 GB, free: 31.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/14.24, allocations: 12.65 MB / 5.603 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/14.24, allocations: 2.271 MB / 5.605 GB, free: 23.42 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/14.24, allocations: 1.035 MB / 5.606 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05636/14.3, allocations: 32.34 MB / 5.637 GB, free: 19.26 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/14.3, allocations: 59.98 kB / 5.638 GB, free: 19.21 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=226): time 4.538e-06/14.3, allocations: 0 / 5.638 GB, free: 19.21 MB / 0.6667 GB Notification: Performance of matching and sorting (n=226): time 0.009367/14.31, allocations: 3.285 MB / 5.641 GB, free: 18.95 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/14.31, allocations: 217.6 kB / 5.641 GB, free: 18.71 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/14.31, allocations: 0.9523 MB / 5.642 GB, free: 18.55 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003163/14.31, allocations: 57.86 kB / 5.642 GB, free: 18.52 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006202/14.31, allocations: 0.8748 MB / 5.643 GB, free: 18.17 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008185/14.31, allocations: 0.7478 MB / 5.643 GB, free: 17.68 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/14.31, allocations: 35.12 kB / 5.644 GB, free: 17.68 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002217/14.31, allocations: 382 kB / 5.644 GB, free: 17.38 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/14.31, allocations: 0.6092 MB / 5.644 GB, free: 17.37 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/14.31, allocations: 0.8676 MB / 5.645 GB, free: 17.15 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/14.32, allocations: 0.7293 MB / 5.646 GB, free: 17.12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/14.32, allocations: 4 kB / 5.646 GB, free: 17.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004203/14.32, allocations: 2.178 MB / 5.648 GB, free: 16.83 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/14.32, allocations: 10.69 kB / 5.648 GB, free: 16.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/14.32, allocations: 3.375 kB / 5.648 GB, free: 16.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009226/14.32, allocations: 300.2 kB / 5.648 GB, free: 16.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/14.32, allocations: 364.2 kB / 5.649 GB, free: 16.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007312/14.33, allocations: 8.92 MB / 5.658 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/14.33, allocations: 219.9 kB / 5.658 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004124/14.33, allocations: 86.05 kB / 5.658 GB, free: 9.02 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 () * 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.0006738/14.33, allocations: 221.9 kB / 5.658 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007909/14.33, allocations: 195.2 kB / 5.658 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00772/14.34, allocations: 5.959 MB / 5.664 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-05/14.34, allocations: 79.92 kB / 5.664 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.654e-05/14.34, allocations: 9.562 kB / 5.664 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-05/14.34, allocations: 18.83 kB / 5.664 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/14.36, allocations: 9.314 MB / 5.673 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/14.36, allocations: 3.906 kB / 5.673 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/14.36, allocations: 313.5 kB / 5.674 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009521/14.36, allocations: 314.1 kB / 5.674 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002344/14.36, allocations: 68.53 kB / 5.674 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008769/14.37, allocations: 8.931 MB / 5.683 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/14.37, allocations: 9 kB / 5.683 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008923/14.38, allocations: 5.697 MB / 5.688 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/14.38, allocations: 384.8 kB / 5.689 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006815/14.38, allocations: 50.66 kB / 5.689 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/14.38, allocations: 143.8 kB / 5.689 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000451/14.38, allocations: 170.9 kB / 5.689 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/14.38, allocations: 79.17 kB / 5.689 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001351/14.38, allocations: 0.726 MB / 5.69 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/14.38, allocations: 0 / 5.69 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01033/14.39, allocations: 1.895 MB / 5.692 GB, free: 11.6 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 () * 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.01506/14.41, allocations: 3.404 MB / 5.695 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007098/14.41, allocations: 3.23 MB / 5.698 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/14.41, allocations: 0 / 5.698 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004201/14.42, allocations: 2.695 MB / 5.701 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004661/14.42, allocations: 0.6892 MB / 5.701 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/14.44, allocations: 5.229 MB / 5.706 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002404/14.44, allocations: 1.907 MB / 5.708 GB, free: 14.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002397/14.44, allocations: 0.7334 MB / 5.709 GB, free: 13.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006425/14.44, allocations: 161.7 kB / 5.709 GB, free: 13.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/14.44, allocations: 0 / 5.709 GB, free: 13.48 MB / 0.698 GB Notification: Performance of Templates: time 0.7029/15.14, allocations: 96.02 MB / 5.803 GB, free: 74.54 MB / 0.698 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