Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007413/0.007413, allocations: 170 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.626/1.626, allocations: 223.2 MB / 239 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 100.6 kB / 290.2 MB, free: 13.96 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.0146/0.0146, allocations: 1.569 MB / 342.9 MB, free: 9.285 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8903/0.8903, allocations: 90.31 MB / 484.7 MB, free: 21.9 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004988, allocations: 14.72 kB / 0.5526 GB, free: 30.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1961, allocations: 69.37 MB / 0.6203 GB, free: 5.633 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.373/1.569, allocations: 356.2 MB / 0.9681 GB, free: 209.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/1.569, allocations: 85.72 kB / 0.9682 GB, free: 209.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9809/2.55, allocations: 240.2 MB / 1.203 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.266e-06/2.55, allocations: 0 / 1.203 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002135/2.55, allocations: 36.5 kB / 1.203 GB, free: 123.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.005186/2.556, allocations: 1.715 MB / 1.205 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/2.556, allocations: 11.83 kB / 1.205 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008785/2.557, allocations: 170.5 kB / 1.205 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/2.559, allocations: 0.7371 MB / 1.205 GB, free: 122 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/2.559, allocations: 65.56 kB / 1.205 GB, free: 122 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/2.559, allocations: 84.73 kB / 1.206 GB, free: 122 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/2.561, allocations: 0.7816 MB / 1.206 GB, free: 121.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/2.561, allocations: 0 / 1.206 GB, free: 121.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/2.561, allocations: 34.5 kB / 1.206 GB, free: 121.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/2.561, allocations: 21.53 kB / 1.206 GB, free: 121.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/2.562, allocations: 0.8316 MB / 1.207 GB, free: 121.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005838/2.568, allocations: 3.578 MB / 1.211 GB, free: 120 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/2.569, allocations: 0.8592 MB / 1.212 GB, free: 120 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002936/2.572, allocations: 2.513 MB / 1.214 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/2.572, allocations: 44.81 kB / 1.214 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=81): time 3.737e-06/2.572, allocations: 3.656 kB / 1.214 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.002623/2.575, allocations: 1.523 MB / 1.216 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/2.575, allocations: 65.44 kB / 1.216 GB, free: 117.5 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter slideValveInverse.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:21:3-22:88:writable] Warning: Parameter slideValveInverse.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:25:3-26:92:writable] Warning: Parameter slideValve.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter slideValve.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:21:3-22:88:writable] Warning: Parameter slideValve.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:14:3-16:44:writable] Warning: Parameter slideValve.d_valve has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/2.576, allocations: 1.012 MB / 1.217 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/2.576, allocations: 39.89 kB / 1.217 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/2.577, allocations: 0.4933 MB / 1.217 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/2.577, allocations: 277.6 kB / 1.217 GB, free: 117 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/2.577, allocations: 22.88 kB / 1.217 GB, free: 117 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.029e-05/2.577, allocations: 331.4 kB / 1.218 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/2.577, allocations: 277.4 kB / 1.218 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/2.578, allocations: 353.9 kB / 1.218 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/2.578, allocations: 316.3 kB / 1.219 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/2.578, allocations: 3.25 kB / 1.219 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001529/2.58, allocations: 0.9354 MB / 1.22 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/2.58, allocations: 3.875 kB / 1.22 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/2.58, allocations: 7.125 kB / 1.22 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/2.58, allocations: 108.5 kB / 1.22 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/2.581, allocations: 142.9 kB / 1.22 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/2.583, allocations: 3.01 MB / 1.223 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/2.584, allocations: 76.98 kB / 1.223 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/2.584, allocations: 32.47 kB / 1.223 GB, free: 113.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005215/2.585, allocations: 305.6 kB / 1.223 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/2.585, allocations: 126.2 kB / 1.223 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/2.587, allocations: 1.094 MB / 1.224 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/2.587, allocations: 9.969 kB / 1.224 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/2.587, allocations: 3.594 kB / 1.224 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/2.587, allocations: 7.469 kB / 1.224 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/2.59, allocations: 2.147 MB / 1.226 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/2.59, allocations: 0 / 1.226 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/2.591, allocations: 139.8 kB / 1.227 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003411/2.591, allocations: 106.4 kB / 1.227 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/2.591, allocations: 26.2 kB / 1.227 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/2.594, allocations: 3.009 MB / 1.23 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.594, allocations: 0 / 1.23 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/2.596, allocations: 1.464 MB / 1.231 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000738/2.597, allocations: 360.8 kB / 1.231 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/2.597, allocations: 18.5 kB / 1.231 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000506/2.598, allocations: 43.16 kB / 1.231 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/2.598, allocations: 63.08 kB / 1.232 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/2.598, allocations: 33.05 kB / 1.232 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001311/2.599, allocations: 0.7953 MB / 1.232 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.615e-06/2.599, allocations: 0 / 1.232 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001899/2.601, allocations: 451.9 kB / 1.233 GB, free: 110 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.inlet.m_flow,slideValveInverse.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.002236/2.604, allocations: 1.046 MB / 1.234 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001767/2.605, allocations: 1.045 MB / 1.235 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/2.605, allocations: 3.938 kB / 1.235 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008879/2.606, allocations: 0.7103 MB / 1.235 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/2.608, allocations: 295.8 kB / 1.236 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/2.612, allocations: 2.663 MB / 1.238 GB, free: 108 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/2.612, allocations: 1.151 MB / 1.239 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007697/2.613, allocations: 200.4 kB / 1.24 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/2.613, allocations: 95.89 kB / 1.24 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.633e-06/2.613, allocations: 0 / 1.24 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.03583/2.649, allocations: 21.24 MB / 1.261 GB, free: 106.1 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches