Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01231/0.01231, allocations: 170 kB / 15.11 MB, free: 5.973 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.725/1.725, allocations: 223.2 MB / 239.1 MB, free: 1.77 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.0009144/0.0009145, allocations: 93.86 kB / 290.2 MB, free: 13.94 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.01158/0.01158, allocations: 1.56 MB / 342.9 MB, free: 9.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8169/0.8169, allocations: 90.31 MB / 484.7 MB, free: 21.88 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005424/0.0005424, allocations: 23.77 kB / 0.5526 GB, free: 30.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1631, allocations: 69.36 MB / 0.6203 GB, free: 5.609 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.445, allocations: 359.8 MB / 0.9717 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.445, allocations: 88.59 kB / 0.9718 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9451/2.391, allocations: 274.1 MB / 1.239 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.186e-06/2.391, allocations: 3.188 kB / 1.239 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001181/2.391, allocations: 51.75 kB / 1.24 GB, free: 126.8 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.004501/2.395, allocations: 2.178 MB / 1.242 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/2.395, allocations: 13.81 kB / 1.242 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006882/2.396, allocations: 241.6 kB / 1.242 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/2.398, allocations: 0.9288 MB / 1.243 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/2.398, allocations: 98.62 kB / 1.243 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/2.398, allocations: 126.4 kB / 1.243 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/2.4, allocations: 1.364 MB / 1.244 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/2.401, allocations: 0 / 1.244 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/2.401, allocations: 57.56 kB / 1.244 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/2.401, allocations: 32.38 kB / 1.244 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/2.403, allocations: 1.609 MB / 1.246 GB, free: 124 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008062/2.411, allocations: 6.354 MB / 1.252 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/2.414, allocations: 1.536 MB / 1.254 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005643/2.419, allocations: 4.291 MB / 1.258 GB, free: 115 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/2.421, allocations: 0.7272 MB / 1.259 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=148): time 4.628e-06/2.421, allocations: 0 / 1.259 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.004322/2.425, allocations: 2.574 MB / 1.261 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/2.425, allocations: 67.88 kB / 1.261 GB, free: 113.3 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/Undirected/FlowControl/SpecificValveType.mo:25:3-26: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/Undirected/FlowControl/SpecificValveType.mo:23:3-24: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/Undirected/FlowControl/SpecificValveType.mo:27:3-28: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/Undirected/FlowControl/SpecificValveType.mo:25:3-26: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/Undirected/FlowControl/SpecificValveType.mo:23:3-24: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/Undirected/FlowControl/SpecificValveType.mo:16:3-18: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.001984/2.427, allocations: 1.099 MB / 1.262 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/2.427, allocations: 57.45 kB / 1.262 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005709/2.428, allocations: 0.6261 MB / 1.263 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/2.428, allocations: 0.4926 MB / 1.263 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/2.428, allocations: 23.94 kB / 1.263 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000104/2.428, allocations: 359.5 kB / 1.264 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008436/2.429, allocations: 0.5162 MB / 1.264 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00092/2.43, allocations: 0.6912 MB / 1.265 GB, free: 111 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009476/2.431, allocations: 0.6147 MB / 1.266 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/2.431, allocations: 0 / 1.266 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002802/2.434, allocations: 1.647 MB / 1.267 GB, free: 110 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/2.434, allocations: 36.77 kB / 1.267 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/2.434, allocations: 3.625 kB / 1.267 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004384/2.434, allocations: 110.6 kB / 1.267 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/2.435, allocations: 284.8 kB / 1.268 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/2.438, allocations: 3.046 MB / 1.271 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/2.439, allocations: 152.1 kB / 1.271 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/2.439, allocations: 62.89 kB / 1.271 GB, free: 107 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0008764/2.44, allocations: 374.5 kB / 1.271 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/2.44, allocations: 151.2 kB / 1.271 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/2.444, allocations: 2.098 MB / 1.273 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/2.444, allocations: 18.44 kB / 1.273 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/2.444, allocations: 2.812 kB / 1.273 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/2.444, allocations: 7.969 kB / 1.273 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005934/2.45, allocations: 3.622 MB / 1.277 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/2.45, allocations: 3.875 kB / 1.277 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009983/2.451, allocations: 288.8 kB / 1.277 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/2.451, allocations: 110.4 kB / 1.277 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/2.452, allocations: 53.7 kB / 1.277 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/2.454, allocations: 3.029 MB / 1.28 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/2.454, allocations: 3.375 kB / 1.28 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004406/2.458, allocations: 2.596 MB / 1.283 GB, free: 98.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/2.459, allocations: 0.4959 MB / 1.283 GB, free: 98.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/2.46, allocations: 34.31 kB / 1.283 GB, free: 98.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007892/2.46, allocations: 90.47 kB / 1.283 GB, free: 98.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/2.461, allocations: 131.2 kB / 1.284 GB, free: 98.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/2.461, allocations: 62.36 kB / 1.284 GB, free: 98.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001176/2.462, allocations: 0.86 MB / 1.284 GB, free: 97.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/2.462, allocations: 0 / 1.284 GB, free: 97.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002344/2.464, allocations: 0.6388 MB / 1.285 GB, free: 97.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.rear.m_flow,slideValveInverse.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.002174/2.466, allocations: 1.139 MB / 1.286 GB, free: 97.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00298/2.469, allocations: 1.747 MB / 1.288 GB, free: 96.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/2.469, allocations: 0 / 1.288 GB, free: 96.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/2.471, allocations: 1.075 MB / 1.289 GB, free: 95.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/2.473, allocations: 404.4 kB / 1.289 GB, free: 95.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/2.479, allocations: 3.693 MB / 1.293 GB, free: 93.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007729/2.48, allocations: 1.313 MB / 1.294 GB, free: 92.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001498/2.481, allocations: 349.8 kB / 1.295 GB, free: 91.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/2.482, allocations: 163.3 kB / 1.295 GB, free: 91.78 MB / 0.6042 GB Notification: Performance of SimCode: time 1.293e-06/2.482, allocations: 0 / 1.295 GB, free: 91.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.04969/2.531, allocations: 29.51 MB / 1.324 GB, free: 63 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches