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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002882/0.002882, allocations: 174.7 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.414/1.414, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0009595/0.0009593, allocations: 78.98 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.01067/0.01067, allocations: 1.55 MB / 338 MB, free: 8.484 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5361/0.5361, allocations: 90.04 MB / 479.4 MB, free: 2.98 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.552e-05, allocations: 0 / 0.5445 GB, free: 7.992 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 69.37 MB / 0.6122 GB, free: 2.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.155, allocations: 359.8 MB / 0.9636 GB, free: 57.25 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.156, allocations: 93.02 kB / 0.9636 GB, free: 57.2 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.8807/2.037, allocations: 273.1 MB / 1.23 GB, free: 69.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/2.037, allocations: 0 / 1.23 GB, free: 69.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001215/2.037, allocations: 44.17 kB / 1.23 GB, free: 69.45 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.004529/2.041, allocations: 1.993 MB / 1.232 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/2.041, allocations: 11.97 kB / 1.232 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007254/2.042, allocations: 241.5 kB / 1.233 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/2.044, allocations: 0.929 MB / 1.233 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/2.044, allocations: 98.62 kB / 1.234 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/2.044, allocations: 136.6 kB / 1.234 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/2.046, allocations: 1.308 MB / 1.235 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/2.046, allocations: 0 / 1.235 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/2.046, allocations: 56 kB / 1.235 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/2.046, allocations: 31.98 kB / 1.235 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/2.048, allocations: 1.502 MB / 1.237 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006268/2.054, allocations: 6.352 MB / 1.243 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/2.056, allocations: 1.455 MB / 1.244 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008087/2.057, allocations: 0.703 MB / 1.245 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004531/2.061, allocations: 4.418 MB / 1.249 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008976/2.062, allocations: 0.685 MB / 1.25 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=148): time 3.717e-06/2.062, allocations: 7.875 kB / 1.25 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.002092/2.064, allocations: 1.399 MB / 1.251 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/2.064, allocations: 68.72 kB / 1.251 GB, free: 46.73 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.001211/2.065, allocations: 1.101 MB / 1.252 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.965e-05/2.065, allocations: 45.7 kB / 1.252 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/2.066, allocations: 0.626 MB / 1.253 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/2.066, allocations: 0.4889 MB / 1.253 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/2.066, allocations: 24 kB / 1.253 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.856e-05/2.066, allocations: 357.9 kB / 1.254 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006241/2.067, allocations: 483.9 kB / 1.254 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007061/2.068, allocations: 0.6426 MB / 1.255 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/2.068, allocations: 0.5727 MB / 1.255 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/2.068, allocations: 4 kB / 1.255 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002131/2.07, allocations: 1.557 MB / 1.257 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/2.07, allocations: 33.7 kB / 1.257 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/2.07, allocations: 4 kB / 1.257 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/2.071, allocations: 109.6 kB / 1.257 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009494/2.072, allocations: 287.6 kB / 1.257 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/2.074, allocations: 2.991 MB / 1.26 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009344/2.075, allocations: 158.9 kB / 1.26 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/2.075, allocations: 55.97 kB / 1.261 GB, free: 36.83 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.0001914/2.075, allocations: 180.6 kB / 1.261 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/2.075, allocations: 150.1 kB / 1.261 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/2.078, allocations: 2.012 MB / 1.263 GB, free: 34.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/2.078, allocations: 16 kB / 1.263 GB, free: 34.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/2.078, allocations: 8 kB / 1.263 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/2.078, allocations: 7.969 kB / 1.263 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004335/2.083, allocations: 3.531 MB / 1.266 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/2.083, allocations: 0 / 1.266 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009083/2.083, allocations: 283.6 kB / 1.267 GB, free: 30.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003099/2.084, allocations: 113.6 kB / 1.267 GB, free: 30.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.632e-05/2.084, allocations: 51.89 kB / 1.267 GB, free: 30.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/2.086, allocations: 2.999 MB / 1.27 GB, free: 27.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/2.086, allocations: 3.984 kB / 1.27 GB, free: 27.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/2.089, allocations: 2.464 MB / 1.272 GB, free: 24.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008008/2.09, allocations: 0.4945 MB / 1.273 GB, free: 24.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/2.09, allocations: 36 kB / 1.273 GB, free: 24.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007533/2.091, allocations: 83.84 kB / 1.273 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/2.091, allocations: 129.8 kB / 1.273 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/2.091, allocations: 63.95 kB / 1.273 GB, free: 23.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001018/2.092, allocations: 0.8456 MB / 1.274 GB, free: 23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/2.092, allocations: 0 / 1.274 GB, free: 23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001687/2.094, allocations: 0.6433 MB / 1.274 GB, free: 22.35 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 (162): * Single equations (assignments): 154 * 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.001662/2.095, allocations: 1.093 MB / 1.275 GB, free: 21.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002139/2.098, allocations: 1.643 MB / 1.277 GB, free: 19.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.098, allocations: 0 / 1.277 GB, free: 19.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/2.099, allocations: 1.013 MB / 1.278 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/2.1, allocations: 409.5 kB / 1.278 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/2.104, allocations: 2.38 MB / 1.281 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/2.105, allocations: 1.317 MB / 1.282 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001115/2.106, allocations: 341.9 kB / 1.282 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/2.106, allocations: 163.3 kB / 1.282 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/2.106, allocations: 3.938 kB / 1.282 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.4288/2.535, allocations: 30.35 MB / 1.312 GB, free: 113.8 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