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.001494/0.001494, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008769/0.000877, allocations: 92.12 kB / 261.4 MB, free: 13.44 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.7448/0.7448, allocations: 90.37 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.665e-05, allocations: 4 kB / 472.2 MB, free: 3.465 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3666, allocations: 66.25 MB / 0.5258 GB, free: 29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.62/7.987, allocations: 3.553 GB / 4.079 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/7.987, allocations: 79.95 kB / 4.079 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.127/13.11, allocations: 1.48 GB / 5.559 GB, free: 29.44 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.272e-06/13.11, allocations: 0 / 5.559 GB, free: 29.44 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001556/13.11, allocations: 72.12 kB / 5.559 GB, free: 29.42 MB / 0.6355 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.02021/13.13, allocations: 5.328 MB / 5.564 GB, free: 26.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/13.14, allocations: 21.78 kB / 5.564 GB, free: 26.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/13.14, allocations: 0.5756 MB / 5.565 GB, free: 26.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002946/13.14, allocations: 1.234 MB / 5.566 GB, free: 25.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/13.14, allocations: 75.89 kB / 5.566 GB, free: 25.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/13.14, allocations: 139 kB / 5.566 GB, free: 25.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003215/13.15, allocations: 1.721 MB / 5.568 GB, free: 24.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003493/13.15, allocations: 2.056 MB / 5.57 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/13.15, allocations: 7.906 kB / 5.57 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/13.15, allocations: 0 / 5.57 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.594e-05/13.15, allocations: 68.48 kB / 5.57 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/13.16, allocations: 12.22 MB / 5.582 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/13.17, allocations: 1.66 MB / 5.584 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/13.17, allocations: 0.9737 MB / 5.585 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06409/13.23, allocations: 32.53 MB / 5.616 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.868e-05/13.23, allocations: 59.09 kB / 5.617 GB, free: 8.773 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=226): time 6.532e-06/13.23, allocations: 0 / 5.617 GB, free: 8.773 MB / 0.6667 GB Notification: Performance of matching and sorting (n=226): time 0.01018/13.24, allocations: 2.926 MB / 5.619 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/13.24, allocations: 199.9 kB / 5.62 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/13.24, allocations: 0.7824 MB / 5.62 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000243/13.24, allocations: 25.7 kB / 5.62 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007612/13.24, allocations: 0.8804 MB / 5.621 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009473/13.24, allocations: 0.7272 MB / 5.622 GB, free: 3.137 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/13.24, allocations: 0 / 5.622 GB, free: 3.137 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002174/13.25, allocations: 377.9 kB / 5.622 GB, free: 2.762 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/13.25, allocations: 0.5742 MB / 5.623 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/13.25, allocations: 0.8286 MB / 5.624 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/13.25, allocations: 0.9986 MB / 5.625 GB, free: 292 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/13.25, allocations: 4 kB / 5.625 GB, free: 288 kB / 0.6667 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.5876/13.84, allocations: 2.319 MB / 5.627 GB, free: 62.55 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/13.84, allocations: 7.156 kB / 5.627 GB, free: 62.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/13.84, allocations: 7.75 kB / 5.627 GB, free: 62.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008808/13.84, allocations: 286.9 kB / 5.627 GB, free: 62.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/13.84, allocations: 366.8 kB / 5.628 GB, free: 62.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/13.85, allocations: 8.604 MB / 5.636 GB, free: 55.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/13.85, allocations: 169.5 kB / 5.636 GB, free: 55.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/13.85, allocations: 81.58 kB / 5.636 GB, free: 55.4 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.0004029/13.85, allocations: 160.4 kB / 5.636 GB, free: 55.29 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003962/13.85, allocations: 177.4 kB / 5.636 GB, free: 55.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/13.86, allocations: 6.074 MB / 5.642 GB, free: 54.65 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.061e-05/13.86, allocations: 76.41 kB / 5.642 GB, free: 54.65 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/13.86, allocations: 6.688 kB / 5.642 GB, free: 54.65 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/13.86, allocations: 16.36 kB / 5.643 GB, free: 54.65 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/13.88, allocations: 9.073 MB / 5.651 GB, free: 53.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/13.88, allocations: 9.719 kB / 5.651 GB, free: 53.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/13.88, allocations: 309.8 kB / 5.652 GB, free: 53.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/13.88, allocations: 304.9 kB / 5.652 GB, free: 53.62 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/13.88, allocations: 46.72 kB / 5.652 GB, free: 53.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0088/13.89, allocations: 8.614 MB / 5.66 GB, free: 46.42 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.616e-05/13.89, allocations: 4.438 kB / 5.66 GB, free: 46.42 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/13.9, allocations: 5.812 MB / 5.666 GB, free: 45.24 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/13.9, allocations: 378 kB / 5.666 GB, free: 45.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/13.9, allocations: 10.03 kB / 5.666 GB, free: 45.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/13.9, allocations: 106.9 kB / 5.667 GB, free: 45 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004682/13.9, allocations: 173.3 kB / 5.667 GB, free: 44.99 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/13.9, allocations: 83.92 kB / 5.667 GB, free: 44.99 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000857/13.9, allocations: 0.5673 MB / 5.667 GB, free: 44.88 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/13.9, allocations: 0 / 5.667 GB, free: 44.88 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.009457/13.91, allocations: 1.75 MB / 5.669 GB, free: 44.75 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 () * 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.01403/13.93, allocations: 3.926 MB / 5.673 GB, free: 44.14 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005464/13.93, allocations: 3.096 MB / 5.676 GB, free: 43.28 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/13.93, allocations: 0 / 5.676 GB, free: 43.28 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003515/13.94, allocations: 2.609 MB / 5.678 GB, free: 42.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004427/13.94, allocations: 0.6412 MB / 5.679 GB, free: 42.39 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/13.95, allocations: 5.139 MB / 5.684 GB, free: 41.27 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/13.95, allocations: 1.901 MB / 5.686 GB, free: 40.52 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001995/13.96, allocations: 0.7191 MB / 5.687 GB, free: 40.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/13.96, allocations: 160.5 kB / 5.687 GB, free: 40.5 MB / 0.6667 GB Notification: Performance of SimCode: time 1.213e-06/13.96, allocations: 0 / 5.687 GB, free: 40.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.1052/14.06, allocations: 65.55 MB / 5.751 GB, free: 35.71 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