Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.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_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_ThermofluidStream.Undirected.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.006148/0.006147, allocations: 180.4 kB / 7.459 MB, free: 2.504 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.553/1.553, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.0008987/0.0008986, allocations: 95.06 kB / 280.1 MB, free: 1.23 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.01284/0.01284, allocations: 1.571 MB / 332.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7597/0.7597, allocations: 90.05 MB / 473.7 MB, free: 7.246 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.07e-05/2.121e-05, allocations: 4 kB / 0.5369 GB, free: 14.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1899, allocations: 69.36 MB / 0.6046 GB, free: 8.871 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.447/1.637, allocations: 359 MB / 0.9552 GB, free: 71.69 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000393/1.637, allocations: 86.39 kB / 0.9553 GB, free: 71.65 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.06/2.698, allocations: 273.1 MB / 1.222 GB, free: 83.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003044/2.698, allocations: 52.86 kB / 1.222 GB, free: 83.28 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.008769/2.707, allocations: 2.013 MB / 1.224 GB, free: 81.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/2.707, allocations: 8.031 kB / 1.224 GB, free: 81.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/2.708, allocations: 205.6 kB / 1.224 GB, free: 81.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/2.711, allocations: 0.9266 MB / 1.225 GB, free: 80.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/2.711, allocations: 44 kB / 1.225 GB, free: 80.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005374/2.712, allocations: 76 kB / 1.225 GB, free: 79.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003212/2.715, allocations: 1.462 MB / 1.227 GB, free: 78.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/2.718, allocations: 1.147 MB / 1.228 GB, free: 77.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.102e-05/2.718, allocations: 0 / 1.228 GB, free: 77.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/2.718, allocations: 19.83 kB / 1.228 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/2.718, allocations: 36 kB / 1.228 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009481/2.728, allocations: 6.184 MB / 1.234 GB, free: 70.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/2.73, allocations: 1.21 MB / 1.235 GB, free: 69.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008661/2.73, allocations: 0.6633 MB / 1.236 GB, free: 68.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00631/2.737, allocations: 4.434 MB / 1.24 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009687/2.738, allocations: 0.6512 MB / 1.241 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=148): time 4.839e-06/2.738, allocations: 0 / 1.241 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.005846/2.744, allocations: 1.742 MB / 1.242 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/2.744, allocations: 64.72 kB / 1.242 GB, free: 61.26 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/Undirected/FlowControl/SpecificValveType.mo:16:3-18: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.002351/2.746, allocations: 1.007 MB / 1.243 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.921e-05/2.746, allocations: 29.7 kB / 1.243 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/2.747, allocations: 452.8 kB / 1.244 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004333/2.747, allocations: 480.6 kB / 1.244 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/2.747, allocations: 0 / 1.244 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001257/2.747, allocations: 365.8 kB / 1.245 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/2.748, allocations: 463.9 kB / 1.245 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007926/2.749, allocations: 0.6153 MB / 1.246 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003698/2.753, allocations: 0.9115 MB / 1.247 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/2.753, allocations: 0 / 1.247 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006363/2.759, allocations: 1.843 MB / 1.248 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/2.759, allocations: 8 kB / 1.248 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/2.759, allocations: 448 / 1.248 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/2.76, allocations: 117.6 kB / 1.249 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/2.761, allocations: 295.6 kB / 1.249 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003275/2.764, allocations: 2.838 MB / 1.252 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/2.766, allocations: 126.9 kB / 1.252 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000261/2.766, allocations: 64.02 kB / 1.252 GB, free: 51.37 MB / 0.6042 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.0003635/2.767, allocations: 141 kB / 1.252 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006888/2.768, allocations: 150.1 kB / 1.252 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008042/2.776, allocations: 2.392 MB / 1.254 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.093e-05/2.776, allocations: 23.98 kB / 1.254 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/2.776, allocations: 3.984 kB / 1.254 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.233e-05/2.776, allocations: 7.969 kB / 1.254 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009676/2.785, allocations: 3.714 MB / 1.258 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/2.785, allocations: 3.906 kB / 1.258 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/2.787, allocations: 303.6 kB / 1.258 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004192/2.787, allocations: 109.6 kB / 1.258 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/2.787, allocations: 39.95 kB / 1.259 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/2.789, allocations: 2.843 MB / 1.261 GB, free: 41.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/2.79, allocations: 0 / 1.261 GB, free: 41.44 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006067/2.796, allocations: 2.721 MB / 1.264 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/2.797, allocations: 0.5062 MB / 1.264 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004979/2.797, allocations: 4 kB / 1.264 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/2.799, allocations: 63.86 kB / 1.265 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/2.799, allocations: 113.8 kB / 1.265 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/2.799, allocations: 67.95 kB / 1.265 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001672/2.801, allocations: 0.7689 MB / 1.265 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003096/2.804, allocations: 0.6354 MB / 1.266 GB, free: 36.5 MB / 0.6042 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 (170): * Single equations (assignments): 162 * 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.00292/2.807, allocations: 1.073 MB / 1.267 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003187/2.81, allocations: 1.559 MB / 1.269 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/2.81, allocations: 0 / 1.269 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/2.812, allocations: 0.9872 MB / 1.27 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/2.815, allocations: 373.2 kB / 1.27 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007505/2.822, allocations: 2.345 MB / 1.272 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00206/2.824, allocations: 1.516 MB / 1.274 GB, free: 28.62 MB / 0.6042 GB Notification: Performance of SimCode: time 2.245e-06/2.824, allocations: 0 / 1.274 GB, free: 28.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.4315/3.256, allocations: 29.34 MB / 1.302 GB, free: 177.1 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches