Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001707/0.001707, allocations: 174.3 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.387/1.387, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008627/0.0008629, allocations: 88.5 kB / 266.6 MB, free: 9.277 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.7642/0.7642, allocations: 90.35 MB / 405 MB, free: 8.621 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.844e-05, allocations: 4 kB / 479.2 MB, free: 14.31 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.397, allocations: 66.26 MB / 0.5326 GB, free: 28.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.73/1.127, allocations: 359.2 MB / 0.8835 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/1.128, allocations: 80.64 kB / 0.8835 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.9071/2.035, allocations: 267.1 MB / 1.144 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.765e-06/2.035, allocations: 0 / 1.144 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002141/2.035, allocations: 48.11 kB / 1.144 GB, free: 20.1 MB / 0.5886 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.007341/2.042, allocations: 1.985 MB / 1.146 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/2.042, allocations: 8.031 kB / 1.146 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/2.044, allocations: 237.5 kB / 1.147 GB, free: 17.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/2.046, allocations: 0.9185 MB / 1.148 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/2.046, allocations: 98.62 kB / 1.148 GB, free: 16.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/2.047, allocations: 135.9 kB / 1.148 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003328/2.05, allocations: 1.308 MB / 1.149 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/2.05, allocations: 0 / 1.149 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/2.05, allocations: 56 kB / 1.149 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/2.05, allocations: 32 kB / 1.149 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/2.054, allocations: 1.502 MB / 1.151 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/2.066, allocations: 6.356 MB / 1.157 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/2.07, allocations: 1.462 MB / 1.158 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/2.071, allocations: 0.6952 MB / 1.159 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.472/2.543, allocations: 4.419 MB / 1.163 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/2.545, allocations: 0.6869 MB / 1.164 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=148): time 6.702e-06/2.545, allocations: 2.625 kB / 1.164 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.002749/2.547, allocations: 1.393 MB / 1.165 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/2.547, allocations: 73 kB / 1.165 GB, free: 108.5 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:17:3-18:61: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.001508/2.549, allocations: 1.087 MB / 1.166 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.328e-05/2.549, allocations: 52.3 kB / 1.166 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/2.549, allocations: 0.6221 MB / 1.167 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003312/2.55, allocations: 0.4895 MB / 1.168 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.731e-05/2.55, allocations: 31.75 kB / 1.168 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/2.55, allocations: 359.1 kB / 1.168 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008301/2.551, allocations: 484.5 kB / 1.168 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008818/2.552, allocations: 0.6407 MB / 1.169 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009861/2.553, allocations: 0.5659 MB / 1.17 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/2.553, allocations: 0.8438 kB / 1.17 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003005/2.556, allocations: 1.561 MB / 1.171 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/2.556, allocations: 37.08 kB / 1.171 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/2.556, allocations: 2.969 kB / 1.171 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004237/2.556, allocations: 110.3 kB / 1.171 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/2.557, allocations: 288.3 kB / 1.171 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/2.559, allocations: 3.01 MB / 1.174 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/2.561, allocations: 150.2 kB / 1.175 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/2.561, allocations: 61.06 kB / 1.175 GB, free: 104.6 MB / 0.5886 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 () * 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.0002451/2.561, allocations: 177.1 kB / 1.175 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/2.561, allocations: 153.3 kB / 1.175 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/2.565, allocations: 2.012 MB / 1.177 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/2.565, allocations: 16.88 kB / 1.177 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/2.565, allocations: 2.719 kB / 1.177 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/2.565, allocations: 11.52 kB / 1.177 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005524/2.571, allocations: 3.524 MB / 1.18 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/2.571, allocations: 4.875 kB / 1.18 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/2.572, allocations: 287.9 kB / 1.181 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003576/2.572, allocations: 105.2 kB / 1.181 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/2.573, allocations: 53.3 kB / 1.181 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/2.575, allocations: 2.995 MB / 1.184 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/2.575, allocations: 0 / 1.184 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003949/2.578, allocations: 2.462 MB / 1.186 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000915/2.579, allocations: 0.4986 MB / 1.187 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/2.58, allocations: 33.12 kB / 1.187 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008267/2.58, allocations: 91.42 kB / 1.187 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/2.581, allocations: 127.6 kB / 1.187 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/2.581, allocations: 55.23 kB / 1.187 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00153/2.582, allocations: 0.8495 MB / 1.188 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.81e-07/2.582, allocations: 4.844 kB / 1.188 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002464/2.585, allocations: 0.6337 MB / 1.188 GB, free: 100.6 MB / 0.5886 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) * 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.002086/2.587, allocations: 1.097 MB / 1.189 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002543/2.59, allocations: 1.646 MB / 1.191 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.59, allocations: 1.094 kB / 1.191 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/2.591, allocations: 1.021 MB / 1.192 GB, free: 99.87 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/2.593, allocations: 404.2 kB / 1.192 GB, free: 99.86 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/2.598, allocations: 2.38 MB / 1.195 GB, free: 99.27 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008137/2.599, allocations: 1.322 MB / 1.196 GB, free: 98.55 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001416/2.6, allocations: 347.7 kB / 1.196 GB, free: 98.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/2.6, allocations: 160.7 kB / 1.197 GB, free: 98.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.613e-06/2.6, allocations: 3.969 kB / 1.197 GB, free: 98.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.04388/2.644, allocations: 30.35 MB / 1.226 GB, free: 97.16 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches