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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003272/0.003272, allocations: 178.5 kB / 7.455 MB, free: 2.523 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.058/1.058, allocations: 221.4 MB / 229.3 MB, free: 3.18 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008471/0.0008471, allocations: 99.52 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.00774/0.00774, allocations: 1.571 MB / 332.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.4179/0.4179, allocations: 90.03 MB / 473.6 MB, free: 7.234 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.721e-06/5.751e-06, allocations: 0 / 0.5369 GB, free: 14.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 69.36 MB / 0.6046 GB, free: 8.863 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.675/0.7943, allocations: 355.4 MB / 0.9516 GB, free: 74.77 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.7946, allocations: 83.8 kB / 0.9517 GB, free: 74.73 MB / 0.573 GB Notification: Performance of FrontEnd: time 0.6407/1.435, allocations: 239.3 MB / 1.185 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001465/1.435, allocations: 35.91 kB / 1.185 GB, free: 120.6 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.003497/1.439, allocations: 1.552 MB / 1.187 GB, free: 119 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.439, allocations: 8.031 kB / 1.187 GB, free: 119 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004891/1.439, allocations: 154.1 kB / 1.187 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/1.441, allocations: 0.7316 MB / 1.188 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/1.441, allocations: 24 kB / 1.188 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/1.441, allocations: 51.91 kB / 1.188 GB, free: 118 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001201/1.442, allocations: 0.7498 MB / 1.189 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/1.444, allocations: 0.6555 MB / 1.189 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/1.444, allocations: 8 kB / 1.189 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/1.444, allocations: 3.938 kB / 1.189 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/1.444, allocations: 20 kB / 1.189 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003719/1.447, allocations: 3.466 MB / 1.193 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/1.448, allocations: 375.5 kB / 1.193 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/1.448, allocations: 351.1 kB / 1.193 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002229/1.45, allocations: 2.53 MB / 1.196 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/1.451, allocations: 51.14 kB / 1.196 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=81): time 2.264e-06/1.451, allocations: 0 / 1.196 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.001725/1.452, allocations: 0.7875 MB / 1.197 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/1.452, allocations: 64.06 kB / 1.197 GB, free: 108.3 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.0009415/1.453, allocations: 0.9208 MB / 1.198 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/1.453, allocations: 25.7 kB / 1.198 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/1.453, allocations: 340.3 kB / 1.198 GB, free: 107 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/1.454, allocations: 268 kB / 1.198 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/1.454, allocations: 0 / 1.198 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.634e-05/1.454, allocations: 337.9 kB / 1.199 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/1.454, allocations: 241.5 kB / 1.199 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/1.454, allocations: 324.1 kB / 1.199 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000821/1.455, allocations: 280.4 kB / 1.199 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.455, allocations: 0 / 1.199 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001557/1.457, allocations: 0.8364 MB / 1.2 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/1.457, allocations: 4 kB / 1.2 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.457, allocations: 4 kB / 1.2 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003383/1.457, allocations: 101.8 kB / 1.2 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/1.458, allocations: 155.8 kB / 1.2 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/1.459, allocations: 2.811 MB / 1.203 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/1.46, allocations: 59.48 kB / 1.203 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/1.46, allocations: 40.03 kB / 1.203 GB, free: 101.3 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.000116/1.46, allocations: 113.5 kB / 1.203 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/1.46, allocations: 110.6 kB / 1.203 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/1.462, allocations: 1.061 MB / 1.204 GB, free: 100 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.462, allocations: 11.98 kB / 1.204 GB, free: 100 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/1.462, allocations: 4 kB / 1.205 GB, free: 100 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/1.462, allocations: 3.984 kB / 1.205 GB, free: 99.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/1.465, allocations: 2.019 MB / 1.206 GB, free: 97.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.465, allocations: 0 / 1.206 GB, free: 97.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/1.466, allocations: 147.8 kB / 1.207 GB, free: 97.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002775/1.466, allocations: 97.53 kB / 1.207 GB, free: 97.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/1.466, allocations: 28.03 kB / 1.207 GB, free: 97.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/1.468, allocations: 2.814 MB / 1.209 GB, free: 94.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.468, allocations: 0 / 1.209 GB, free: 94.62 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001968/1.47, allocations: 1.377 MB / 1.211 GB, free: 93.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/1.47, allocations: 355.2 kB / 1.211 GB, free: 92.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/1.47, allocations: 8 kB / 1.211 GB, free: 92.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/1.471, allocations: 35.88 kB / 1.211 GB, free: 92.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/1.471, allocations: 52.69 kB / 1.211 GB, free: 92.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/1.471, allocations: 31.98 kB / 1.211 GB, free: 92.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006924/1.472, allocations: 0.7067 MB / 1.212 GB, free: 92.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001082/1.473, allocations: 467 kB / 1.212 GB, free: 91.55 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 (81): * Single equations (assignments): 77 * 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.001328/1.474, allocations: 1.006 MB / 1.213 GB, free: 90.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001183/1.475, allocations: 0.9451 MB / 1.214 GB, free: 89.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.475, allocations: 4 kB / 1.214 GB, free: 89.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006604/1.476, allocations: 0.6584 MB / 1.215 GB, free: 89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/1.477, allocations: 276.8 kB / 1.215 GB, free: 88.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/1.48, allocations: 1.663 MB / 1.217 GB, free: 87.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006923/1.48, allocations: 1.265 MB / 1.218 GB, free: 85.73 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/1.48, allocations: 0 / 1.218 GB, free: 85.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.0261/1.507, allocations: 20.09 MB / 1.238 GB, free: 65.85 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