Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_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_OM_adaptions_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.008669/0.008669, allocations: 170.7 kB / 15.11 MB, free: 5.973 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.89/1.89, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.001361/0.001361, allocations: 94.86 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8418/0.8418, allocations: 90.6 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003952, allocations: 8 kB / 485.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.5535, allocations: 66.27 MB / 0.5386 GB, free: 45.6 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8662/1.42, allocations: 355.7 MB / 0.8859 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.42, allocations: 84.91 kB / 0.886 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.8875/2.308, allocations: 235 MB / 1.115 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.689e-06/2.308, allocations: 0 / 1.115 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002354/2.308, allocations: 31.67 kB / 1.116 GB, free: 104.8 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.007094/2.315, allocations: 1.715 MB / 1.117 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 8.294e-05/2.315, allocations: 12.03 kB / 1.117 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/2.316, allocations: 167 kB / 1.117 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/2.319, allocations: 0.7344 MB / 1.118 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/2.319, allocations: 65.89 kB / 1.118 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/2.319, allocations: 87.91 kB / 1.118 GB, free: 102 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/2.321, allocations: 0.7843 MB / 1.119 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/2.321, allocations: 3.984 kB / 1.119 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/2.321, allocations: 36 kB / 1.119 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/2.321, allocations: 20 kB / 1.119 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/2.322, allocations: 0.8238 MB / 1.12 GB, free: 100.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004758/2.327, allocations: 3.582 MB / 1.123 GB, free: 96.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/2.328, allocations: 0.8479 MB / 1.124 GB, free: 95.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002821/2.331, allocations: 2.52 MB / 1.127 GB, free: 92.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/2.331, allocations: 43.22 kB / 1.127 GB, free: 92.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=81): time 2.965e-06/2.331, allocations: 0 / 1.127 GB, free: 92.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=81): time 0.002403/2.334, allocations: 1.526 MB / 1.128 GB, free: 91.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/2.334, allocations: 64.06 kB / 1.128 GB, free: 90.99 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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.4.0-OM_adaptions/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.4.0-OM_adaptions/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.4.0-OM_adaptions/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.4.0-OM_adaptions/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.4.0-OM_adaptions/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.001313/2.335, allocations: 1.007 MB / 1.129 GB, free: 89.97 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/2.335, allocations: 41.7 kB / 1.129 GB, free: 89.93 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/2.335, allocations: 0.4965 MB / 1.13 GB, free: 89.42 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/2.335, allocations: 283.1 kB / 1.13 GB, free: 89.15 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/2.336, allocations: 16 kB / 1.13 GB, free: 89.13 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.086e-05/2.336, allocations: 333.9 kB / 1.13 GB, free: 88.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/2.336, allocations: 277.9 kB / 1.131 GB, free: 88.53 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/2.336, allocations: 359.9 kB / 1.131 GB, free: 88.16 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/2.337, allocations: 311 kB / 1.131 GB, free: 87.86 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/2.337, allocations: 4 kB / 1.131 GB, free: 87.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001463/2.338, allocations: 0.9273 MB / 1.132 GB, free: 86.91 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/2.338, allocations: 8 kB / 1.132 GB, free: 86.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/2.339, allocations: 0 / 1.132 GB, free: 86.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003819/2.339, allocations: 109.8 kB / 1.132 GB, free: 86.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/2.339, allocations: 151.7 kB / 1.132 GB, free: 86.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/2.341, allocations: 3.014 MB / 1.135 GB, free: 83.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/2.342, allocations: 87.41 kB / 1.135 GB, free: 83.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/2.342, allocations: 27.98 kB / 1.135 GB, free: 83.25 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.0006384/2.343, allocations: 317.4 kB / 1.136 GB, free: 82.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/2.343, allocations: 118.5 kB / 1.136 GB, free: 82.82 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/2.345, allocations: 1.085 MB / 1.137 GB, free: 81.71 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/2.345, allocations: 15.89 kB / 1.137 GB, free: 81.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/2.345, allocations: 4 kB / 1.137 GB, free: 81.69 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/2.345, allocations: 3.984 kB / 1.137 GB, free: 81.69 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/2.348, allocations: 2.143 MB / 1.139 GB, free: 79.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/2.348, allocations: 8 kB / 1.139 GB, free: 79.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/2.348, allocations: 139.8 kB / 1.139 GB, free: 79.36 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002936/2.348, allocations: 97.62 kB / 1.139 GB, free: 79.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/2.349, allocations: 27.97 kB / 1.139 GB, free: 79.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/2.35, allocations: 3.011 MB / 1.142 GB, free: 75.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.35, allocations: 4 kB / 1.142 GB, free: 75.94 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/2.352, allocations: 1.461 MB / 1.144 GB, free: 74.44 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005259/2.353, allocations: 351.2 kB / 1.144 GB, free: 74.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/2.353, allocations: 23.98 kB / 1.144 GB, free: 74.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/2.353, allocations: 47.89 kB / 1.144 GB, free: 74.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/2.354, allocations: 68.84 kB / 1.144 GB, free: 73.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/2.354, allocations: 27.98 kB / 1.144 GB, free: 73.91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009535/2.355, allocations: 0.7933 MB / 1.145 GB, free: 73.11 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/2.355, allocations: 0 / 1.145 GB, free: 73.11 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001325/2.356, allocations: 463.2 kB / 1.145 GB, free: 72.66 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.001734/2.358, allocations: 1.042 MB / 1.146 GB, free: 71.83 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001623/2.359, allocations: 1.056 MB / 1.147 GB, free: 70.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/2.359, allocations: 4 kB / 1.147 GB, free: 70.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007841/2.36, allocations: 0.7133 MB / 1.148 GB, free: 69.98 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/2.362, allocations: 281.2 kB / 1.148 GB, free: 69.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/2.365, allocations: 2.657 MB / 1.151 GB, free: 67.01 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/2.366, allocations: 1.147 MB / 1.152 GB, free: 65.83 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007825/2.366, allocations: 198.7 kB / 1.152 GB, free: 65.63 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/2.367, allocations: 95.39 kB / 1.152 GB, free: 65.54 MB / 0.5886 GB Notification: Performance of SimCode: time 1.673e-06/2.367, allocations: 3.938 kB / 1.152 GB, free: 65.53 MB / 0.5886 GB Notification: Performance of Templates: time 0.03243/2.399, allocations: 21.22 MB / 1.173 GB, free: 44.42 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches