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 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.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 4.0.0+maint.om/package.mo): time 0.007963/0.007963, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.516/1.516, allocations: 223.2 MB / 239 MB, free: 1.793 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.0009538/0.0009539, allocations: 105.7 kB / 290.2 MB, free: 13.93 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.009584/0.009584, allocations: 1.561 MB / 342.9 MB, free: 9.266 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8603/0.8603, allocations: 90.3 MB / 484.7 MB, free: 21.88 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005646/0.0005645, allocations: 18.72 kB / 0.5526 GB, free: 30.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1783, allocations: 69.37 MB / 0.6203 GB, free: 5.625 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.528/1.707, allocations: 354.2 MB / 0.9662 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003929/1.707, allocations: 87.73 kB / 0.9663 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.223/2.93, allocations: 349.3 MB / 1.307 GB, free: 82.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.735e-06/2.93, allocations: 0 / 1.307 GB, free: 82.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002754/2.93, allocations: 42.66 kB / 1.307 GB, free: 82.94 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006715/2.937, allocations: 1.935 MB / 1.309 GB, free: 80.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/2.937, allocations: 15.98 kB / 1.309 GB, free: 80.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/2.938, allocations: 193.9 kB / 1.309 GB, free: 80.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/2.94, allocations: 0.7865 MB / 1.31 GB, free: 79.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.451e-05/2.94, allocations: 86.31 kB / 1.31 GB, free: 79.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/2.94, allocations: 115.9 kB / 1.31 GB, free: 79.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/2.942, allocations: 1.077 MB / 1.311 GB, free: 78.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/2.942, allocations: 8 kB / 1.312 GB, free: 78.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.111e-05/2.943, allocations: 47.95 kB / 1.312 GB, free: 78.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/2.943, allocations: 28 kB / 1.312 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/2.944, allocations: 1.153 MB / 1.313 GB, free: 77.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005147/2.949, allocations: 4.903 MB / 1.317 GB, free: 72.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/2.951, allocations: 1.214 MB / 1.319 GB, free: 70.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003724/2.955, allocations: 3.779 MB / 1.322 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/2.955, allocations: 51.56 kB / 1.322 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=115): time 2.895e-06/2.955, allocations: 3.938 kB / 1.322 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=115): time 0.003684/2.958, allocations: 2.146 MB / 1.325 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/2.958, allocations: 68.34 kB / 1.325 GB, free: 64.16 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-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 1.0.0-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 1.0.0-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 1.0.0-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 1.0.0-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 1.0.0-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 1.0.0-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 1.0.0-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.0009568/2.959, allocations: 0.6879 MB / 1.325 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/2.959, allocations: 45.7 kB / 1.325 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/2.96, allocations: 0.5588 MB / 1.326 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/2.96, allocations: 392 kB / 1.326 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/2.96, allocations: 20 kB / 1.326 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/2.96, allocations: 341.9 kB / 1.327 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/2.961, allocations: 386.1 kB / 1.327 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/2.961, allocations: 472 kB / 1.327 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/2.962, allocations: 430.9 kB / 1.328 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/2.962, allocations: 4 kB / 1.328 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001969/2.964, allocations: 1.233 MB / 1.329 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/2.964, allocations: 7.938 kB / 1.329 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/2.964, allocations: 0 / 1.329 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/2.965, allocations: 154.5 kB / 1.329 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007452/2.965, allocations: 191.7 kB / 1.329 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/2.969, allocations: 4.518 MB / 1.334 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009379/2.97, allocations: 107.1 kB / 1.334 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/2.97, allocations: 39.97 kB / 1.334 GB, free: 54.17 MB / 0.6042 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.0005741/2.97, allocations: 249.7 kB / 1.334 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/2.97, allocations: 110.6 kB / 1.334 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/2.973, allocations: 1.48 MB / 1.336 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/2.973, allocations: 12 kB / 1.336 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/2.973, allocations: 4 kB / 1.336 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/2.973, allocations: 7.922 kB / 1.336 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/2.977, allocations: 2.723 MB / 1.338 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/2.977, allocations: 0 / 1.338 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006152/2.978, allocations: 183.8 kB / 1.339 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/2.979, allocations: 162.8 kB / 1.339 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.953e-05/2.979, allocations: 31.97 kB / 1.339 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/2.982, allocations: 4.518 MB / 1.343 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/2.982, allocations: 3.938 kB / 1.343 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/2.985, allocations: 1.948 MB / 1.345 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007156/2.985, allocations: 315.2 kB / 1.345 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/2.986, allocations: 27.95 kB / 1.345 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008374/2.987, allocations: 71.73 kB / 1.345 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/2.987, allocations: 80.88 kB / 1.346 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.631e-05/2.987, allocations: 47.95 kB / 1.346 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007945/2.988, allocations: 0.5322 MB / 1.346 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/2.988, allocations: 0 / 1.346 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002323/2.99, allocations: 0.6121 MB / 1.347 GB, free: 40.51 MB / 0.6042 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.002134/2.992, allocations: 1.155 MB / 1.348 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002299/2.994, allocations: 1.483 MB / 1.349 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/2.994, allocations: 0 / 1.349 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/2.996, allocations: 1.046 MB / 1.35 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/2.998, allocations: 373 kB / 1.351 GB, free: 36.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/3.002, allocations: 2.799 MB / 1.353 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/3.003, allocations: 1.169 MB / 1.355 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009234/3.004, allocations: 215.4 kB / 1.355 GB, free: 32.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/3.004, allocations: 103.4 kB / 1.355 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of SimCode: time 1.302e-06/3.004, allocations: 0 / 1.355 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.04456/3.049, allocations: 28 MB / 1.382 GB, free: 4.297 MB / 0.6042 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