Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.009289/0.009289, 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 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0009565/0.0009562, allocations: 78.88 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8647/0.8647, allocations: 90.59 MB / 408.4 MB, free: 15 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 12 kB / 485.2 MB, free: 2.098 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5119/0.5122, allocations: 66.27 MB / 0.5386 GB, free: 45.41 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8536/1.366, allocations: 354.2 MB / 0.8844 GB, free: 56.94 MB / 0.5574 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.366, allocations: 80.33 kB / 0.8845 GB, free: 56.9 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 1.532/2.898, allocations: 341.8 MB / 1.218 GB, free: 86.47 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.278e-06/2.898, allocations: 0 / 1.218 GB, free: 86.47 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001481/2.898, allocations: 47.41 kB / 1.218 GB, free: 86.47 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.005694/2.904, allocations: 1.932 MB / 1.22 GB, free: 85.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/2.904, allocations: 12.84 kB / 1.22 GB, free: 85.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006652/2.905, allocations: 192.6 kB / 1.22 GB, free: 85.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/2.906, allocations: 0.7902 MB / 1.221 GB, free: 85.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/2.906, allocations: 85.28 kB / 1.221 GB, free: 85.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/2.907, allocations: 123.8 kB / 1.221 GB, free: 85.49 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/2.909, allocations: 1.072 MB / 1.222 GB, free: 85.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/2.909, allocations: 3.812 kB / 1.222 GB, free: 85.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/2.909, allocations: 52.12 kB / 1.222 GB, free: 85.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/2.909, allocations: 30.73 kB / 1.223 GB, free: 85.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/2.911, allocations: 1.155 MB / 1.224 GB, free: 85.39 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006659/2.918, allocations: 4.897 MB / 1.228 GB, free: 82.71 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/2.919, allocations: 1.211 MB / 1.23 GB, free: 82.67 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004324/2.924, allocations: 3.781 MB / 1.233 GB, free: 79.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/2.924, allocations: 51.98 kB / 1.233 GB, free: 79.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 3.697e-06/2.924, allocations: 0 / 1.233 GB, free: 79.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=115): time 0.003814/2.928, allocations: 2.141 MB / 1.235 GB, free: 79.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/2.928, allocations: 68.81 kB / 1.235 GB, free: 79.04 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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.4.0-OM_adaptions/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.4.0-OM_adaptions/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.4.0-OM_adaptions/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.4.0-OM_adaptions/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.4.0-OM_adaptions/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.4.0-OM_adaptions/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.4.0-OM_adaptions/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.001002/2.929, allocations: 0.6892 MB / 1.236 GB, free: 78.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/2.929, allocations: 44.14 kB / 1.236 GB, free: 78.87 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/2.929, allocations: 0.5553 MB / 1.237 GB, free: 78.69 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/2.93, allocations: 393.7 kB / 1.237 GB, free: 78.49 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/2.93, allocations: 20.91 kB / 1.237 GB, free: 78.49 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001276/2.93, allocations: 346.5 kB / 1.237 GB, free: 78.19 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006291/2.93, allocations: 379.2 kB / 1.238 GB, free: 78.19 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/2.931, allocations: 470.8 kB / 1.238 GB, free: 78.15 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006596/2.932, allocations: 430.2 kB / 1.239 GB, free: 78.14 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/2.932, allocations: 7.766 kB / 1.239 GB, free: 78.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002072/2.934, allocations: 1.24 MB / 1.24 GB, free: 77.99 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/2.934, allocations: 4.938 kB / 1.24 GB, free: 77.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/2.934, allocations: 3 kB / 1.24 GB, free: 77.99 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/2.934, allocations: 151.6 kB / 1.24 GB, free: 77.97 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/2.935, allocations: 197.8 kB / 1.24 GB, free: 77.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003501/2.939, allocations: 4.516 MB / 1.245 GB, free: 74.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/2.94, allocations: 106.2 kB / 1.245 GB, free: 74.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/2.94, allocations: 43.28 kB / 1.245 GB, free: 74.16 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.0007449/2.941, allocations: 255.2 kB / 1.245 GB, free: 74.04 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/2.941, allocations: 113.8 kB / 1.245 GB, free: 73.98 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002933/2.944, allocations: 1.471 MB / 1.247 GB, free: 73.85 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/2.944, allocations: 13.66 kB / 1.247 GB, free: 73.85 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/2.944, allocations: 3.719 kB / 1.247 GB, free: 73.85 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/2.944, allocations: 6.328 kB / 1.247 GB, free: 73.85 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004676/2.949, allocations: 2.72 MB / 1.249 GB, free: 73.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/2.949, allocations: 0 / 1.249 GB, free: 73.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/2.949, allocations: 185.2 kB / 1.249 GB, free: 73.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005777/2.95, allocations: 151.2 kB / 1.25 GB, free: 73.37 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/2.95, allocations: 39.47 kB / 1.25 GB, free: 73.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003754/2.954, allocations: 4.521 MB / 1.254 GB, free: 69.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/2.954, allocations: 5.516 kB / 1.254 GB, free: 69.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/2.958, allocations: 1.951 MB / 1.256 GB, free: 69.26 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007489/2.959, allocations: 315.1 kB / 1.256 GB, free: 69.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/2.959, allocations: 26.86 kB / 1.256 GB, free: 69.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007494/2.96, allocations: 62.8 kB / 1.256 GB, free: 69.08 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/2.96, allocations: 88.64 kB / 1.256 GB, free: 69.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/2.96, allocations: 47.25 kB / 1.256 GB, free: 69.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001088/2.961, allocations: 0.5329 MB / 1.257 GB, free: 68.96 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/2.961, allocations: 0 / 1.257 GB, free: 68.96 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002838/2.964, allocations: 0.6087 MB / 1.258 GB, free: 68.88 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.002421/2.967, allocations: 1.158 MB / 1.259 GB, free: 68.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002983/2.97, allocations: 1.478 MB / 1.26 GB, free: 68.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/2.97, allocations: 3.094 kB / 1.26 GB, free: 68.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/2.971, allocations: 1.046 MB / 1.261 GB, free: 67.63 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/2.973, allocations: 368.4 kB / 1.262 GB, free: 67.62 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005085/2.979, allocations: 2.808 MB / 1.264 GB, free: 66.31 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008027/2.979, allocations: 1.176 MB / 1.265 GB, free: 65.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001108/2.981, allocations: 207.9 kB / 1.266 GB, free: 65.58 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/2.981, allocations: 105.9 kB / 1.266 GB, free: 65.57 MB / 0.5886 GB Notification: Performance of SimCode: time 1.503e-06/2.981, allocations: 0 / 1.266 GB, free: 65.57 MB / 0.5886 GB Notification: Performance of Templates: time 0.06885/3.05, allocations: 27.99 MB / 1.293 GB, free: 64.27 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches