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.001309/0.001309, allocations: 180.9 kB / 7.651 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.413/1.413, 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.0008786/0.0008786, allocations: 92.14 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.739/0.739, allocations: 90.36 MB / 399.7 MB, free: 12.13 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.879e-05, allocations: 4 kB / 472.2 MB, free: 3.465 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3594, allocations: 66.26 MB / 0.5259 GB, free: 28.97 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6937/1.053, allocations: 358.6 MB / 0.876 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/1.053, allocations: 81.7 kB / 0.8761 GB, free: 9.984 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.8385/1.892, allocations: 265.7 MB / 1.136 GB, free: 1.758 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.643e-06/1.892, allocations: 0 / 1.136 GB, free: 1.758 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002041/1.892, allocations: 47.97 kB / 1.136 GB, free: 1.711 MB / 0.573 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.3959/2.288, allocations: 1.984 MB / 1.138 GB, free: 95.63 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/2.288, allocations: 11.03 kB / 1.138 GB, free: 95.63 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/2.29, allocations: 238.9 kB / 1.138 GB, free: 95.53 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/2.291, allocations: 0.9175 MB / 1.139 GB, free: 95.24 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/2.292, allocations: 43.22 kB / 1.139 GB, free: 95.24 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/2.292, allocations: 83.28 kB / 1.139 GB, free: 95.24 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002348/2.294, allocations: 1.435 MB / 1.14 GB, free: 95.23 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/2.296, allocations: 1.129 MB / 1.141 GB, free: 95.16 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/2.296, allocations: 3.891 kB / 1.141 GB, free: 95.16 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-05/2.296, allocations: 4.672 kB / 1.141 GB, free: 95.15 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/2.296, allocations: 34.81 kB / 1.141 GB, free: 95.15 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007415/2.304, allocations: 6.125 MB / 1.147 GB, free: 91.75 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/2.306, allocations: 1.401 MB / 1.149 GB, free: 91.73 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009778/2.307, allocations: 0.656 MB / 1.149 GB, free: 91.71 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004966/2.312, allocations: 4.355 MB / 1.154 GB, free: 89.05 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009878/2.313, allocations: 0.6466 MB / 1.154 GB, free: 89 MB / 0.573 GB Notification: Performance of pre-optimization done (n=148): time 3.276e-06/2.313, allocations: 0 / 1.154 GB, free: 89 MB / 0.573 GB Notification: Performance of matching and sorting (n=148): time 0.00466/2.318, allocations: 1.631 MB / 1.156 GB, free: 88.84 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/2.318, allocations: 66.38 kB / 1.156 GB, free: 88.78 MB / 0.573 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.00143/2.319, allocations: 1.012 MB / 1.157 GB, free: 88.63 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.432e-05/2.319, allocations: 29.39 kB / 1.157 GB, free: 88.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/2.32, allocations: 0.6308 MB / 1.157 GB, free: 88.4 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/2.32, allocations: 478.3 kB / 1.158 GB, free: 88.14 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/2.32, allocations: 3.781 kB / 1.158 GB, free: 88.14 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/2.32, allocations: 354.9 kB / 1.158 GB, free: 87.84 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/2.321, allocations: 455.4 kB / 1.159 GB, free: 87.84 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007646/2.322, allocations: 0.6085 MB / 1.159 GB, free: 87.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/2.325, allocations: 0.8129 MB / 1.16 GB, free: 87.69 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/2.325, allocations: 2.812 kB / 1.16 GB, free: 87.69 MB / 0.573 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004864/2.33, allocations: 1.734 MB / 1.162 GB, free: 87.54 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/2.33, allocations: 35.7 kB / 1.162 GB, free: 87.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/2.33, allocations: 3.281 kB / 1.162 GB, free: 87.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/2.33, allocations: 112.4 kB / 1.162 GB, free: 87.49 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/2.331, allocations: 287.7 kB / 1.162 GB, free: 87.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/2.333, allocations: 2.908 MB / 1.165 GB, free: 85.08 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/2.335, allocations: 122.7 kB / 1.165 GB, free: 85.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/2.335, allocations: 58.52 kB / 1.165 GB, free: 85.05 MB / 0.573 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.0002272/2.335, allocations: 131.2 kB / 1.165 GB, free: 84.94 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/2.335, allocations: 152.6 kB / 1.166 GB, free: 84.86 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005294/2.341, allocations: 2.082 MB / 1.168 GB, free: 84.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/2.341, allocations: 21.36 kB / 1.168 GB, free: 84.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/2.341, allocations: 1.688 kB / 1.168 GB, free: 84.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/2.341, allocations: 9.906 kB / 1.168 GB, free: 84.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007777/2.348, allocations: 3.459 MB / 1.171 GB, free: 84.32 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/2.348, allocations: 7.141 kB / 1.171 GB, free: 84.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/2.349, allocations: 287.2 kB / 1.171 GB, free: 84.32 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003812/2.35, allocations: 112.6 kB / 1.171 GB, free: 84.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/2.35, allocations: 38.39 kB / 1.171 GB, free: 84.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/2.352, allocations: 2.895 MB / 1.174 GB, free: 81.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/2.352, allocations: 0 / 1.174 GB, free: 81.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/2.358, allocations: 2.545 MB / 1.177 GB, free: 81.55 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/2.359, allocations: 0.4948 MB / 1.177 GB, free: 81.37 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/2.359, allocations: 7.234 kB / 1.177 GB, free: 81.37 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008053/2.36, allocations: 60.55 kB / 1.177 GB, free: 81.37 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/2.36, allocations: 127.7 kB / 1.177 GB, free: 81.37 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/2.36, allocations: 62.58 kB / 1.177 GB, free: 81.37 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001275/2.361, allocations: 0.7698 MB / 1.178 GB, free: 81.25 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.01e-07/2.361, allocations: 0 / 1.178 GB, free: 81.25 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002541/2.364, allocations: 0.5915 MB / 1.179 GB, free: 81.23 MB / 0.573 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.0024/2.366, allocations: 1.077 MB / 1.18 GB, free: 81 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003368/2.37, allocations: 1.557 MB / 1.181 GB, free: 80.71 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/2.37, allocations: 4.938 kB / 1.181 GB, free: 80.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/2.371, allocations: 0.9715 MB / 1.182 GB, free: 80.48 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/2.374, allocations: 378.1 kB / 1.183 GB, free: 80.46 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/2.379, allocations: 2.283 MB / 1.185 GB, free: 79.89 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000716/2.38, allocations: 1.318 MB / 1.186 GB, free: 79.17 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001346/2.381, allocations: 341.2 kB / 1.186 GB, free: 79.12 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/2.381, allocations: 159.6 kB / 1.187 GB, free: 79.11 MB / 0.573 GB Notification: Performance of SimCode: time 8.12e-07/2.381, allocations: 0 / 1.187 GB, free: 79.11 MB / 0.573 GB Notification: Performance of Templates: time 0.03664/2.418, allocations: 25.94 MB / 1.212 GB, free: 77.87 MB / 0.573 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