Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00989/0.00989, allocations: 172 kB / 15.11 MB, free: 5.969 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.693/1.693, allocations: 223.2 MB / 239 MB, free: 1.812 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.00105/0.00105, allocations: 107.8 kB / 290.2 MB, free: 13.98 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.01252/0.01252, allocations: 1.553 MB / 342.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 1.076/1.076, allocations: 90.31 MB / 484.7 MB, free: 21.93 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004836, allocations: 14.47 kB / 0.5526 GB, free: 30.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1955, allocations: 69.36 MB / 0.6203 GB, free: 5.668 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.251/1.447, allocations: 357.8 MB / 0.9698 GB, free: 208.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/1.447, allocations: 95.09 kB / 0.9699 GB, free: 208.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.22/2.667, allocations: 399.7 MB / 1.36 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/2.667, allocations: 0 / 1.36 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000132/2.667, allocations: 55.98 kB / 1.36 GB, free: 41.67 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: 485 * Number of variables: 485 Notification: Performance of Generate backend data structure: time 0.007073/2.674, allocations: 2.617 MB / 1.363 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/2.674, allocations: 8.031 kB / 1.363 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/2.675, allocations: 301 kB / 1.363 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/2.677, allocations: 1.069 MB / 1.364 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.955e-05/2.677, allocations: 139.8 kB / 1.364 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/2.677, allocations: 184 kB / 1.364 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/2.681, allocations: 1.939 MB / 1.366 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/2.681, allocations: 4 kB / 1.366 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/2.681, allocations: 72 kB / 1.366 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/2.681, allocations: 48 kB / 1.366 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/2.684, allocations: 2.314 MB / 1.369 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009521/2.694, allocations: 9.013 MB / 1.378 GB, free: 22.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002678/2.696, allocations: 2.276 MB / 1.38 GB, free: 20.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007106/2.704, allocations: 5.962 MB / 1.386 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001611/2.705, allocations: 1.046 MB / 1.387 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=216): time 6.823e-06/2.705, allocations: 0 / 1.387 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=216): time 0.005961/2.711, allocations: 3.725 MB / 1.39 GB, free: 9.016 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/2.711, allocations: 73.41 kB / 1.39 GB, free: 8.93 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/Undirected/FlowControl/BasicControlValve.mo:27:3-28:92:writable] Warning: Parameter valveEqualPercentage.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/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveEqualPercentage.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/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveEqualPercentage.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/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveParabolic.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/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveParabolic.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/BasicControlValve.mo:27:3-28:92:writable] Warning: Parameter valveLinear.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/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveLinear.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/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveLinear.Cvs_US 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.001156/2.712, allocations: 0.8213 MB / 1.391 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/2.713, allocations: 61.7 kB / 1.391 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/2.713, allocations: 0.7398 MB / 1.392 GB, free: 7.281 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/2.714, allocations: 0.7121 MB / 1.393 GB, free: 6.559 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.743e-05/2.714, allocations: 39.94 kB / 1.393 GB, free: 6.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001229/2.714, allocations: 377.9 kB / 1.393 GB, free: 6.145 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/2.715, allocations: 0.7379 MB / 1.394 GB, free: 5.406 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/2.716, allocations: 0.936 MB / 1.395 GB, free: 4.426 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/2.717, allocations: 0.8706 MB / 1.395 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/2.717, allocations: 0 / 1.395 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.003958/2.721, allocations: 2.3 MB / 1.398 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/2.721, allocations: 37.69 kB / 1.398 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/2.721, allocations: 4 kB / 1.398 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/2.722, allocations: 162.4 kB / 1.398 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/2.723, allocations: 395.4 kB / 1.398 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5103/3.234, allocations: 4.539 MB / 1.403 GB, free: 76.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/3.237, allocations: 206.7 kB / 1.403 GB, free: 76.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/3.238, allocations: 86.62 kB / 1.403 GB, free: 76.01 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002582/3.241, allocations: 339.9 kB / 1.403 GB, free: 75.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/3.242, allocations: 166.8 kB / 1.404 GB, free: 75.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/3.252, allocations: 2.981 MB / 1.406 GB, free: 75.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/3.253, allocations: 23.22 kB / 1.406 GB, free: 75.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/3.253, allocations: 2.781 kB / 1.406 GB, free: 75.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.689e-05/3.253, allocations: 12.42 kB / 1.406 GB, free: 75.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/3.263, allocations: 4.933 MB / 1.411 GB, free: 75.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/3.263, allocations: 3.062 kB / 1.411 GB, free: 75.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/3.264, allocations: 407.1 kB / 1.412 GB, free: 75.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005969/3.265, allocations: 171.8 kB / 1.412 GB, free: 75.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/3.265, allocations: 76.38 kB / 1.412 GB, free: 75.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003467/3.269, allocations: 4.538 MB / 1.416 GB, free: 71.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/3.269, allocations: 5.109 kB / 1.416 GB, free: 71.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006592/3.275, allocations: 3.648 MB / 1.42 GB, free: 71.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/3.277, allocations: 0.5319 MB / 1.42 GB, free: 70.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/3.277, allocations: 50.48 kB / 1.42 GB, free: 70.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/3.278, allocations: 122.7 kB / 1.421 GB, free: 70.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005643/3.279, allocations: 184.7 kB / 1.421 GB, free: 70.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/3.279, allocations: 88.53 kB / 1.421 GB, free: 70.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001183/3.28, allocations: 0.6246 MB / 1.421 GB, free: 70.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/3.28, allocations: 0 / 1.421 GB, free: 70.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003737/3.284, allocations: 0.8924 MB / 1.422 GB, free: 70.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valveLinear.rear.m_flow,valveParabolic.rear.m_flow,valveEqualPercentage.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (235): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(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.002379/3.286, allocations: 1.295 MB / 1.424 GB, free: 70.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005252/3.291, allocations: 2.494 MB / 1.426 GB, free: 69.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/3.291, allocations: 5.531 kB / 1.426 GB, free: 69.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002869/3.294, allocations: 1.542 MB / 1.428 GB, free: 69.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/3.298, allocations: 0.5369 MB / 1.428 GB, free: 69.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/3.305, allocations: 4.334 MB / 1.432 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/3.306, allocations: 1.426 MB / 1.434 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002291/3.309, allocations: 428.6 kB / 1.434 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/3.309, allocations: 210.4 kB / 1.434 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of SimCode: time 1.513e-06/3.309, allocations: 0 / 1.434 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.06974/3.379, allocations: 40.36 MB / 1.474 GB, free: 64.28 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches