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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009628/0.0009628, allocations: 84.7 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.008166/0.008166, allocations: 1.561 MB / 338 MB, free: 8.488 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5181/0.5181, allocations: 90.04 MB / 479.3 MB, free: 2.977 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.646e-05, allocations: 4 kB / 0.5445 GB, free: 7.984 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1506, allocations: 69.36 MB / 0.6122 GB, free: 2.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.098/1.249, allocations: 356.1 MB / 0.96 GB, free: 61.02 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/1.249, allocations: 86.89 kB / 0.9601 GB, free: 60.98 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.8344/2.084, allocations: 239.3 MB / 1.194 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/2.084, allocations: 0 / 1.194 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001053/2.084, allocations: 35.98 kB / 1.194 GB, free: 107.3 MB / 0.6042 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.003391/2.087, allocations: 1.543 MB / 1.195 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/2.087, allocations: 11.98 kB / 1.195 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/2.088, allocations: 166.1 kB / 1.195 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/2.089, allocations: 0.7331 MB / 1.196 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/2.089, allocations: 62 kB / 1.196 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/2.089, allocations: 80.52 kB / 1.196 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/2.09, allocations: 0.7532 MB / 1.197 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/2.091, allocations: 0 / 1.197 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/2.091, allocations: 40 kB / 1.197 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/2.091, allocations: 23.94 kB / 1.197 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/2.092, allocations: 0.777 MB / 1.198 GB, free: 103 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/2.096, allocations: 3.591 MB / 1.201 GB, free: 99.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/2.097, allocations: 0.8205 MB / 1.202 GB, free: 98.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/2.097, allocations: 367.2 kB / 1.203 GB, free: 97.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002526/2.1, allocations: 2.537 MB / 1.205 GB, free: 94.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/2.1, allocations: 39.34 kB / 1.205 GB, free: 94.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=81): time 3.075e-06/2.1, allocations: 0 / 1.205 GB, free: 94.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.001334/2.101, allocations: 0.8283 MB / 1.206 GB, free: 94.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/2.101, allocations: 60.19 kB / 1.206 GB, free: 94 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/FlowControl/SpecificValveType.mo:14:3-16:44: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.001169/2.103, allocations: 1 MB / 1.207 GB, free: 92.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/2.103, allocations: 33.7 kB / 1.207 GB, free: 92.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/2.103, allocations: 0.5042 MB / 1.207 GB, free: 92.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/2.103, allocations: 275.9 kB / 1.208 GB, free: 92.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/2.103, allocations: 16 kB / 1.208 GB, free: 92.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.02e-05/2.103, allocations: 345.9 kB / 1.208 GB, free: 91.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/2.104, allocations: 245.5 kB / 1.208 GB, free: 91.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/2.104, allocations: 333.7 kB / 1.209 GB, free: 91.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/2.104, allocations: 294 kB / 1.209 GB, free: 90.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/2.104, allocations: 3.938 kB / 1.209 GB, free: 90.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001295/2.106, allocations: 0.8792 MB / 1.21 GB, free: 90.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/2.106, allocations: 12.09 kB / 1.21 GB, free: 90.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/2.106, allocations: 0 / 1.21 GB, free: 90.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/2.106, allocations: 109.6 kB / 1.21 GB, free: 89.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/2.107, allocations: 143.8 kB / 1.21 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/2.109, allocations: 2.972 MB / 1.213 GB, free: 86.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/2.109, allocations: 87.31 kB / 1.213 GB, free: 86.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/2.109, allocations: 27.98 kB / 1.213 GB, free: 86.42 MB / 0.6042 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 () * 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.0001559/2.11, allocations: 148.8 kB / 1.213 GB, free: 86.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/2.11, allocations: 110.6 kB / 1.213 GB, free: 86.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/2.112, allocations: 1.041 MB / 1.214 GB, free: 85.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/2.112, allocations: 8 kB / 1.214 GB, free: 85.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/2.112, allocations: 4 kB / 1.214 GB, free: 85.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/2.112, allocations: 7.938 kB / 1.214 GB, free: 85.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/2.114, allocations: 2.093 MB / 1.216 GB, free: 82.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/2.114, allocations: 0 / 1.216 GB, free: 82.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/2.115, allocations: 136 kB / 1.216 GB, free: 82.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002917/2.115, allocations: 117.6 kB / 1.217 GB, free: 82.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/2.115, allocations: 23.98 kB / 1.217 GB, free: 82.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/2.117, allocations: 2.979 MB / 1.219 GB, free: 79.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/2.117, allocations: 8.062 kB / 1.219 GB, free: 79.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/2.119, allocations: 1.372 MB / 1.221 GB, free: 77.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005726/2.119, allocations: 355.2 kB / 1.221 GB, free: 77.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/2.12, allocations: 23.98 kB / 1.221 GB, free: 77.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/2.12, allocations: 43.89 kB / 1.221 GB, free: 77.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/2.12, allocations: 68.58 kB / 1.221 GB, free: 77.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/2.12, allocations: 35.97 kB / 1.221 GB, free: 77.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000953/2.121, allocations: 0.775 MB / 1.222 GB, free: 76.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/2.121, allocations: 0 / 1.222 GB, free: 76.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001384/2.123, allocations: 467.1 kB / 1.223 GB, free: 76.2 MB / 0.6042 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 () * 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.001856/2.124, allocations: 0.9913 MB / 1.223 GB, free: 75.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001493/2.126, allocations: 0.9889 MB / 1.224 GB, free: 74.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/2.126, allocations: 0 / 1.224 GB, free: 74.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007455/2.127, allocations: 0.6965 MB / 1.225 GB, free: 73.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/2.128, allocations: 287.8 kB / 1.225 GB, free: 73.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/2.131, allocations: 1.682 MB / 1.227 GB, free: 71.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/2.132, allocations: 1.151 MB / 1.228 GB, free: 70.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007654/2.132, allocations: 198.7 kB / 1.228 GB, free: 70.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/2.133, allocations: 91.39 kB / 1.228 GB, free: 70.08 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/2.133, allocations: 0 / 1.228 GB, free: 70.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.03297/2.166, allocations: 22.13 MB / 1.25 GB, free: 48.06 MB / 0.6042 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