Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.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-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009492/0.0009493, allocations: 176.9 kB / 16.12 MB, free: 5.684 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.458/1.458, 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.0007948/0.0007948, allocations: 89.53 kB / 270.6 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.7206/0.7206, allocations: 89.63 MB / 408.5 MB, free: 4.477 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003949, allocations: 12.22 kB / 485.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3213, allocations: 66 MB / 0.5383 GB, free: 34.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9592/1.281, allocations: 437.7 MB / 0.9657 GB, free: 189.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.281, allocations: 87.94 kB / 0.9658 GB, free: 189.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.6298/1.911, allocations: 203.3 MB / 1.164 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.394e-06/1.911, allocations: 0 / 1.164 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.559e-05/1.911, allocations: 28.16 kB / 1.164 GB, free: 140.2 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002695/1.914, allocations: 1.213 MB / 1.165 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/1.914, allocations: 14.59 kB / 1.166 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003323/1.914, allocations: 99.56 kB / 1.166 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/1.915, allocations: 0.5204 MB / 1.166 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/1.915, allocations: 55.09 kB / 1.166 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/1.915, allocations: 73.38 kB / 1.166 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.916, allocations: 0.656 MB / 1.167 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/1.916, allocations: 3.172 kB / 1.167 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/1.917, allocations: 31.88 kB / 1.167 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/1.917, allocations: 19.53 kB / 1.167 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/1.918, allocations: 0.6465 MB / 1.168 GB, free: 139.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/1.921, allocations: 3.161 MB / 1.171 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/1.922, allocations: 0.724 MB / 1.171 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/1.923, allocations: 298.8 kB / 1.172 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/1.923, allocations: 0.9822 MB / 1.173 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/1.923, allocations: 37.19 kB / 1.173 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 2.605e-06/1.923, allocations: 3.312 kB / 1.173 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61): time 0.003558/1.927, allocations: 1.988 MB / 1.175 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/1.927, allocations: 55.91 kB / 1.175 GB, free: 135.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/1.928, allocations: 437.2 kB / 1.175 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/1.928, allocations: 36.36 kB / 1.175 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/1.928, allocations: 343.6 kB / 1.175 GB, free: 135.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/1.928, allocations: 206.4 kB / 1.176 GB, free: 135.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/1.928, allocations: 7.125 kB / 1.176 GB, free: 135.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.928, allocations: 373.6 kB / 1.176 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/1.928, allocations: 218.6 kB / 1.176 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/1.929, allocations: 226.8 kB / 1.176 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/1.929, allocations: 0.4897 MB / 1.177 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.929, allocations: 0 / 1.177 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001115/1.93, allocations: 0.7171 MB / 1.178 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.931, allocations: 6.875 kB / 1.178 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.931, allocations: 0 / 1.178 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/1.931, allocations: 110.1 kB / 1.178 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/1.931, allocations: 97.66 kB / 1.178 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/1.933, allocations: 1.983 MB / 1.18 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/1.934, allocations: 44.28 kB / 1.18 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/1.934, allocations: 23.05 kB / 1.18 GB, free: 133.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003712/1.934, allocations: 189.7 kB / 1.18 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/1.934, allocations: 62.66 kB / 1.18 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/1.936, allocations: 0.8773 MB / 1.181 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.936, allocations: 10.66 kB / 1.181 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.936, allocations: 3.875 kB / 1.181 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.936, allocations: 3.047 kB / 1.181 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/1.939, allocations: 1.677 MB / 1.183 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.939, allocations: 0 / 1.183 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/1.939, allocations: 102.9 kB / 1.183 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003422/1.94, allocations: 114.1 kB / 1.183 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/1.94, allocations: 23.47 kB / 1.183 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/1.941, allocations: 1.959 MB / 1.185 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.941, allocations: 3.719 kB / 1.185 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/1.943, allocations: 1.175 MB / 1.186 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/1.943, allocations: 131.7 kB / 1.186 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/1.943, allocations: 18.81 kB / 1.186 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/1.944, allocations: 51.81 kB / 1.186 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.944, allocations: 57.3 kB / 1.186 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/1.944, allocations: 18.92 kB / 1.186 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003018/1.944, allocations: 304.7 kB / 1.186 GB, free: 131.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/1.944, allocations: 0 / 1.186 GB, free: 131.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001212/1.946, allocations: 380.1 kB / 1.187 GB, free: 131.1 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (splitterT2_1.splitterN.inlet.m_flow,splitterT2_1.splitterN.outlets[1].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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001334/1.947, allocations: 0.7792 MB / 1.187 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001347/1.948, allocations: 0.7622 MB / 1.188 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.948, allocations: 2.625 kB / 1.188 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007324/1.949, allocations: 0.5297 MB / 1.189 GB, free: 130.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000954/1.95, allocations: 174.7 kB / 1.189 GB, free: 130.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/1.952, allocations: 1.705 MB / 1.191 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/1.953, allocations: 0.9458 MB / 1.192 GB, free: 129 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003953/1.953, allocations: 108.4 kB / 1.192 GB, free: 129 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/1.953, allocations: 60.38 kB / 1.192 GB, free: 129 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/1.953, allocations: 3 kB / 1.192 GB, free: 129 MB / 0.5886 GB Notification: Performance of Templates: time 0.02559/1.979, allocations: 17.16 MB / 1.208 GB, free: 128.4 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches