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 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.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 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 173.4 kB / 16.12 MB, free: 5.695 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.798/1.798, allocations: 205.4 MB / 222.3 MB, free: 9.043 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.000863/0.0008632, allocations: 89.55 kB / 270.6 MB, free: 8.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8692/0.8692, allocations: 89.58 MB / 408.5 MB, free: 4.539 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004507, allocations: 12.22 kB / 485.2 MB, free: 7.691 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4405, allocations: 66.01 MB / 0.5383 GB, free: 34.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8049/1.245, allocations: 355.6 MB / 0.8855 GB, free: 5.438 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/1.246, allocations: 87.56 kB / 0.8856 GB, free: 5.395 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.841/2.087, allocations: 233.5 MB / 1.114 GB, free: 40.33 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.887e-06/2.087, allocations: 3.938 kB / 1.114 GB, free: 40.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002162/2.087, allocations: 35.98 kB / 1.114 GB, free: 40.29 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004964/2.092, allocations: 1.694 MB / 1.115 GB, free: 38.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/2.092, allocations: 8.031 kB / 1.115 GB, free: 38.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008226/2.093, allocations: 179 kB / 1.115 GB, free: 38.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/2.095, allocations: 0.7756 MB / 1.116 GB, free: 37.53 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-05/2.095, allocations: 63.31 kB / 1.116 GB, free: 37.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/2.095, allocations: 80 kB / 1.116 GB, free: 37.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/2.097, allocations: 0.7843 MB / 1.117 GB, free: 36.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/2.097, allocations: 3.938 kB / 1.117 GB, free: 36.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/2.097, allocations: 43.98 kB / 1.117 GB, free: 36.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/2.097, allocations: 23.98 kB / 1.117 GB, free: 36.53 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/2.099, allocations: 0.8237 MB / 1.118 GB, free: 35.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005066/2.104, allocations: 3.56 MB / 1.121 GB, free: 31.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/2.105, allocations: 0.8407 MB / 1.122 GB, free: 30.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/2.105, allocations: 405 kB / 1.123 GB, free: 30.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003478/2.109, allocations: 2.487 MB / 1.125 GB, free: 27.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/2.109, allocations: 43.22 kB / 1.125 GB, free: 27.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=81): time 4.408e-06/2.109, allocations: 0 / 1.125 GB, free: 27.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=81): time 0.002995/2.112, allocations: 1.367 MB / 1.126 GB, free: 26.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/2.112, allocations: 64 kB / 1.127 GB, free: 26.2 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/FlowControl/SpecificValveType.mo:22:3-23: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/FlowControl/SpecificValveType.mo:20:3-21: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/FlowControl/SpecificValveType.mo:24:3-25: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/FlowControl/SpecificValveType.mo:22:3-23: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/FlowControl/SpecificValveType.mo:20:3-21: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/FlowControl/SpecificValveType.mo:14:3-15: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.002024/2.114, allocations: 1.132 MB / 1.128 GB, free: 25.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.685e-05/2.114, allocations: 45.7 kB / 1.128 GB, free: 25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/2.115, allocations: 0.5003 MB / 1.128 GB, free: 24.49 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/2.115, allocations: 279.9 kB / 1.128 GB, free: 24.21 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/2.115, allocations: 8 kB / 1.128 GB, free: 24.21 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001191/2.115, allocations: 337.9 kB / 1.129 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/2.115, allocations: 273.9 kB / 1.129 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/2.116, allocations: 360 kB / 1.129 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/2.117, allocations: 0.6601 MB / 1.13 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/2.117, allocations: 0 / 1.13 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001596/2.119, allocations: 0.9389 MB / 1.131 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/2.119, allocations: 8.156 kB / 1.131 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/2.119, allocations: 0 / 1.131 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004039/2.119, allocations: 97.64 kB / 1.131 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/2.12, allocations: 147.8 kB / 1.131 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/2.122, allocations: 2.991 MB / 1.134 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/2.122, allocations: 87.3 kB / 1.134 GB, free: 18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/2.123, allocations: 31.98 kB / 1.134 GB, free: 17.97 MB / 0.5886 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.0005964/2.123, allocations: 321.3 kB / 1.135 GB, free: 17.65 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/2.123, allocations: 110.6 kB / 1.135 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/2.125, allocations: 1.081 MB / 1.136 GB, free: 16.44 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/2.125, allocations: 12 kB / 1.136 GB, free: 16.43 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/2.125, allocations: 0 / 1.136 GB, free: 16.43 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/2.125, allocations: 7.984 kB / 1.136 GB, free: 16.42 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/2.128, allocations: 2.122 MB / 1.138 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/2.128, allocations: 0 / 1.138 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/2.129, allocations: 135.8 kB / 1.138 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/2.129, allocations: 117.5 kB / 1.138 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/2.129, allocations: 23.98 kB / 1.138 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/2.131, allocations: 2.987 MB / 1.141 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/2.131, allocations: 4.125 kB / 1.141 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/2.133, allocations: 1.432 MB / 1.142 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000527/2.134, allocations: 347.2 kB / 1.143 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/2.134, allocations: 20 kB / 1.143 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/2.134, allocations: 43.97 kB / 1.143 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/2.134, allocations: 64.84 kB / 1.143 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/2.134, allocations: 31.97 kB / 1.143 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009156/2.135, allocations: 0.8011 MB / 1.144 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.135, allocations: 0 / 1.144 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0013/2.137, allocations: 459.1 kB / 1.144 GB, free: 7.457 MB / 0.5886 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.001871/2.139, allocations: 1.05 MB / 1.145 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001695/2.14, allocations: 1.037 MB / 1.146 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/2.14, allocations: 0 / 1.146 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0009353/2.141, allocations: 0.725 MB / 1.147 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/2.143, allocations: 300.4 kB / 1.147 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/2.147, allocations: 2.669 MB / 1.15 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009983/2.148, allocations: 1.124 MB / 1.151 GB, free: 0.5547 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000981/2.149, allocations: 198.8 kB / 1.151 GB, free: 364 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/2.15, allocations: 103.4 kB / 1.151 GB, free: 260 kB / 0.5886 GB Notification: Performance of SimCode: time 1.173e-06/2.15, allocations: 0 / 1.151 GB, free: 260 kB / 0.5886 GB Notification: Performance of Templates: time 0.3758/2.526, allocations: 21.43 MB / 1.172 GB, free: 124 MB / 0.5886 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