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 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.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/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_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 3.2.3+maint.om/package.mo): time 0.001097/0.001098, allocations: 179.4 kB / 16.12 MB, free: 5.699 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.812/1.812, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0007997/0.0007997, allocations: 78.42 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.9465/0.9465, allocations: 89.58 MB / 408.5 MB, free: 4.504 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003982, allocations: 20.22 kB / 485.2 MB, free: 7.641 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3885, allocations: 66 MB / 0.5383 GB, free: 34.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7441/1.133, allocations: 359.3 MB / 0.8891 GB, free: 1.773 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/1.133, allocations: 94.44 kB / 0.8892 GB, free: 1.727 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.8926/2.026, allocations: 266.4 MB / 1.149 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.246e-06/2.026, allocations: 0 / 1.149 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001271/2.026, allocations: 48.11 kB / 1.149 GB, free: 2.656 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.005361/2.031, allocations: 2.163 MB / 1.152 GB, free: 440 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/2.031, allocations: 8.031 kB / 1.152 GB, free: 432 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007883/2.032, allocations: 238.5 kB / 1.152 GB, free: 192 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.34/2.372, allocations: 0.9749 MB / 1.153 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/2.372, allocations: 99.53 kB / 1.153 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/2.372, allocations: 130.9 kB / 1.153 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/2.375, allocations: 1.37 MB / 1.154 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/2.375, allocations: 0.9375 kB / 1.154 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/2.375, allocations: 55.56 kB / 1.154 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/2.375, allocations: 31.88 kB / 1.154 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003389/2.379, allocations: 1.613 MB / 1.156 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00863/2.387, allocations: 6.25 MB / 1.162 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/2.39, allocations: 1.534 MB / 1.164 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/2.391, allocations: 0.7487 MB / 1.164 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005398/2.397, allocations: 4.202 MB / 1.168 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/2.398, allocations: 0.7322 MB / 1.169 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=148): time 4.158e-06/2.398, allocations: 0 / 1.169 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.004841/2.403, allocations: 2.25 MB / 1.171 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/2.403, allocations: 73.23 kB / 1.171 GB, free: 102.1 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/Undirected/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 0.3.1-main/Undirected/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 0.3.1-main/Undirected/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 0.3.1-main/Undirected/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 0.3.1-main/Undirected/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 0.3.1-main/Undirected/FlowControl/SpecificValveType.mo:15:3-16: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.00203/2.405, allocations: 1.247 MB / 1.173 GB, free: 102 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/2.405, allocations: 51.11 kB / 1.173 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005662/2.406, allocations: 0.6299 MB / 1.173 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004749/2.406, allocations: 0.4906 MB / 1.174 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/2.406, allocations: 26.03 kB / 1.174 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001328/2.406, allocations: 358.5 kB / 1.174 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/2.407, allocations: 0.5166 MB / 1.175 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/2.408, allocations: 0.6951 MB / 1.175 GB, free: 101 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/2.411, allocations: 1.304 MB / 1.177 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/2.411, allocations: 1.469 kB / 1.177 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003645/2.414, allocations: 1.659 MB / 1.178 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/2.414, allocations: 39.45 kB / 1.178 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/2.414, allocations: 3.969 kB / 1.178 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/2.415, allocations: 111.2 kB / 1.178 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/2.416, allocations: 288.5 kB / 1.179 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/2.418, allocations: 2.999 MB / 1.182 GB, free: 98.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/2.42, allocations: 158.8 kB / 1.182 GB, free: 98.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/2.42, allocations: 58.3 kB / 1.182 GB, free: 98.07 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 () * 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.001322/2.421, allocations: 376.1 kB / 1.182 GB, free: 97.95 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/2.422, allocations: 153.3 kB / 1.182 GB, free: 97.87 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005243/2.427, allocations: 2.071 MB / 1.184 GB, free: 97.73 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/2.427, allocations: 23.38 kB / 1.184 GB, free: 97.73 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/2.427, allocations: 1.375 kB / 1.184 GB, free: 97.73 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/2.427, allocations: 9.812 kB / 1.184 GB, free: 97.73 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006445/2.434, allocations: 3.565 MB / 1.188 GB, free: 97.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/2.434, allocations: 0 / 1.188 GB, free: 97.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009098/2.435, allocations: 297.7 kB / 1.188 GB, free: 97.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003494/2.435, allocations: 104.4 kB / 1.188 GB, free: 97.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/2.435, allocations: 53.7 kB / 1.188 GB, free: 97.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/2.437, allocations: 3.009 MB / 1.191 GB, free: 94.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/2.437, allocations: 0 / 1.191 GB, free: 94.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004201/2.441, allocations: 2.577 MB / 1.194 GB, free: 94.46 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/2.443, allocations: 479.8 kB / 1.194 GB, free: 94.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/2.443, allocations: 30.55 kB / 1.194 GB, free: 94.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007667/2.443, allocations: 89.58 kB / 1.194 GB, free: 94.29 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/2.444, allocations: 133.9 kB / 1.194 GB, free: 94.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/2.444, allocations: 59.88 kB / 1.194 GB, free: 94.29 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001261/2.445, allocations: 0.8609 MB / 1.195 GB, free: 94.17 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/2.445, allocations: 7.312 kB / 1.195 GB, free: 94.17 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002142/2.447, allocations: 0.6409 MB / 1.196 GB, free: 94.14 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) * 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.002189/2.45, allocations: 1.136 MB / 1.197 GB, free: 93.97 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002984/2.453, allocations: 1.74 MB / 1.199 GB, free: 93.64 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/2.453, allocations: 6.125 kB / 1.199 GB, free: 93.64 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/2.454, allocations: 1.072 MB / 1.2 GB, free: 93.41 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/2.456, allocations: 419.8 kB / 1.2 GB, free: 93.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/2.462, allocations: 3.707 MB / 1.204 GB, free: 91.82 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007621/2.463, allocations: 1.29 MB / 1.205 GB, free: 91.11 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001501/2.464, allocations: 344.9 kB / 1.205 GB, free: 91.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/2.465, allocations: 158.8 kB / 1.206 GB, free: 91.07 MB / 0.5886 GB Notification: Performance of SimCode: time 1.242e-06/2.465, allocations: 0 / 1.206 GB, free: 91.07 MB / 0.5886 GB Notification: Performance of Templates: time 0.04728/2.512, allocations: 29.9 MB / 1.235 GB, free: 89.67 MB / 0.5886 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