Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002328/0.002329, allocations: 176.1 kB / 16.12 MB, free: 5.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 222.3 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009453/0.0009454, allocations: 87 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8335/0.8335, allocations: 89.57 MB / 408.5 MB, free: 4.516 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 12.22 kB / 485.2 MB, free: 7.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.404, allocations: 66.01 MB / 0.5382 GB, free: 34.45 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8782/1.282, allocations: 354.1 MB / 0.884 GB, free: 6.871 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004045/1.283, allocations: 90.94 kB / 0.8841 GB, free: 6.824 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.446/2.729, allocations: 339.4 MB / 1.216 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.556e-06/2.729, allocations: 0 / 1.216 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002178/2.729, allocations: 44.17 kB / 1.216 GB, free: 109.6 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00759/2.737, allocations: 1.924 MB / 1.217 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/2.737, allocations: 11.5 kB / 1.217 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/2.738, allocations: 194.2 kB / 1.218 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/2.74, allocations: 0.8229 MB / 1.218 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/2.741, allocations: 85.72 kB / 1.219 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/2.741, allocations: 120.1 kB / 1.219 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/2.743, allocations: 1.089 MB / 1.22 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/2.743, allocations: 3.906 kB / 1.22 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/2.743, allocations: 48.62 kB / 1.22 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/2.743, allocations: 25 kB / 1.22 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/2.745, allocations: 1.159 MB / 1.221 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005393/2.75, allocations: 4.86 MB / 1.226 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/2.752, allocations: 1.217 MB / 1.227 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/2.753, allocations: 0.549 MB / 1.227 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003729/2.756, allocations: 3.734 MB / 1.231 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/2.757, allocations: 41.38 kB / 1.231 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 2.866e-06/2.757, allocations: 3.938 kB / 1.231 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=115): time 0.003233/2.76, allocations: 1.92 MB / 1.233 GB, free: 102 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/2.76, allocations: 63.84 kB / 1.233 GB, free: 102 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/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 0.3.1-main/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 0.3.1-main/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 0.3.1-main/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 0.3.1-main/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 0.3.1-main/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 0.3.1-main/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 0.3.1-main/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.0009366/2.761, allocations: 0.8003 MB / 1.234 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/2.761, allocations: 42.58 kB / 1.234 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/2.761, allocations: 0.5575 MB / 1.234 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/2.761, allocations: 392.3 kB / 1.235 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/2.761, allocations: 17.38 kB / 1.235 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/2.762, allocations: 340.1 kB / 1.235 GB, free: 101 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/2.762, allocations: 384.9 kB / 1.235 GB, free: 101 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006142/2.763, allocations: 477.3 kB / 1.236 GB, free: 101 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/2.764, allocations: 0.8826 MB / 1.237 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/2.764, allocations: 3.938 kB / 1.237 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00199/2.766, allocations: 1.242 MB / 1.238 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/2.766, allocations: 7.844 kB / 1.238 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/2.766, allocations: 0 / 1.238 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/2.767, allocations: 151 kB / 1.238 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/2.767, allocations: 195.2 kB / 1.238 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003287/2.771, allocations: 4.476 MB / 1.243 GB, free: 96.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000834/2.771, allocations: 102.7 kB / 1.243 GB, free: 96.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/2.772, allocations: 43.25 kB / 1.243 GB, free: 96.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007063/2.772, allocations: 255.2 kB / 1.243 GB, free: 96.79 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/2.773, allocations: 120.3 kB / 1.243 GB, free: 96.72 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/2.776, allocations: 1.453 MB / 1.245 GB, free: 96.58 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/2.776, allocations: 18.12 kB / 1.245 GB, free: 96.58 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/2.776, allocations: 0 / 1.245 GB, free: 96.58 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/2.776, allocations: 10.55 kB / 1.245 GB, free: 96.58 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/2.78, allocations: 2.682 MB / 1.247 GB, free: 96.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/2.781, allocations: 0 / 1.247 GB, free: 96.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/2.781, allocations: 189.9 kB / 1.247 GB, free: 96.13 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004852/2.782, allocations: 163.6 kB / 1.248 GB, free: 96.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/2.782, allocations: 40.58 kB / 1.248 GB, free: 96.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/2.785, allocations: 4.484 MB / 1.252 GB, free: 92.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/2.785, allocations: 3.875 kB / 1.252 GB, free: 92.32 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003253/2.788, allocations: 1.914 MB / 1.254 GB, free: 92.03 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007681/2.789, allocations: 305.5 kB / 1.254 GB, free: 91.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/2.789, allocations: 30.09 kB / 1.254 GB, free: 91.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007655/2.79, allocations: 58.02 kB / 1.254 GB, free: 91.85 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/2.79, allocations: 91.66 kB / 1.254 GB, free: 91.85 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.229e-05/2.791, allocations: 39.97 kB / 1.254 GB, free: 91.85 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0008268/2.791, allocations: 0.533 MB / 1.255 GB, free: 91.73 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.1e-07/2.791, allocations: 0 / 1.255 GB, free: 91.73 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002085/2.793, allocations: 0.6123 MB / 1.256 GB, free: 91.64 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valveLinear.inlet.m_flow,valveParabolic.inlet.m_flow,valveEqualPercentage.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001945/2.795, allocations: 1.155 MB / 1.257 GB, free: 91.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002314/2.798, allocations: 1.478 MB / 1.258 GB, free: 90.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/2.798, allocations: 0 / 1.258 GB, free: 90.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/2.799, allocations: 1.05 MB / 1.259 GB, free: 90.38 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/2.801, allocations: 386.1 kB / 1.259 GB, free: 90.35 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/2.805, allocations: 2.813 MB / 1.262 GB, free: 89.03 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007343/2.806, allocations: 1.146 MB / 1.263 GB, free: 88.32 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001008/2.807, allocations: 203.2 kB / 1.264 GB, free: 88.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/2.807, allocations: 103.6 kB / 1.264 GB, free: 88.26 MB / 0.5886 GB Notification: Performance of SimCode: time 1.432e-06/2.807, allocations: 3.281 kB / 1.264 GB, free: 88.26 MB / 0.5886 GB Notification: Performance of Templates: time 0.04694/2.854, allocations: 28.29 MB / 1.291 GB, free: 83.89 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches