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.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.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.007079/0.007079, allocations: 169.1 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.863/1.863, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0009507/0.0009506, allocations: 86.86 kB / 269.6 MB, free: 13.35 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.8873/0.8873, allocations: 90.6 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 8 kB / 485.2 MB, free: 2.078 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5137/0.5141, allocations: 66.27 MB / 0.5386 GB, free: 45.68 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9244/1.439, allocations: 437.8 MB / 0.9661 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/1.439, allocations: 87.95 kB / 0.9662 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8374/2.276, allocations: 205.1 MB / 1.166 GB, free: 52.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.537e-06/2.277, allocations: 0 / 1.166 GB, free: 52.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001155/2.277, allocations: 35.92 kB / 1.166 GB, free: 52.61 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.00383/2.281, allocations: 1.22 MB / 1.168 GB, free: 51.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/2.281, allocations: 8.031 kB / 1.168 GB, free: 51.33 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/2.281, allocations: 107.3 kB / 1.168 GB, free: 51.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/2.282, allocations: 0.5033 MB / 1.168 GB, free: 50.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/2.282, allocations: 54.86 kB / 1.168 GB, free: 50.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/2.283, allocations: 71.91 kB / 1.168 GB, free: 50.56 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/2.284, allocations: 0.6593 MB / 1.169 GB, free: 49.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/2.284, allocations: 3.984 kB / 1.169 GB, free: 49.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/2.284, allocations: 28 kB / 1.169 GB, free: 49.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/2.284, allocations: 16 kB / 1.169 GB, free: 49.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/2.285, allocations: 0.6442 MB / 1.17 GB, free: 49.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/2.289, allocations: 3.177 MB / 1.173 GB, free: 45.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/2.29, allocations: 0.725 MB / 1.174 GB, free: 44.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006218/2.291, allocations: 0.9822 MB / 1.174 GB, free: 43.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/2.291, allocations: 39.12 kB / 1.175 GB, free: 43.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 3.476e-06/2.291, allocations: 0 / 1.175 GB, free: 43.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61): time 0.004171/2.295, allocations: 2.058 MB / 1.177 GB, free: 41.51 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/2.295, allocations: 59.97 kB / 1.177 GB, free: 41.44 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004387/2.296, allocations: 377.4 kB / 1.177 GB, free: 41.06 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/2.296, allocations: 37.7 kB / 1.177 GB, free: 41.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/2.296, allocations: 340.3 kB / 1.177 GB, free: 40.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/2.296, allocations: 208.9 kB / 1.178 GB, free: 40.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/2.296, allocations: 8 kB / 1.178 GB, free: 40.47 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001277/2.296, allocations: 382.7 kB / 1.178 GB, free: 40.09 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/2.297, allocations: 209 kB / 1.178 GB, free: 39.88 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/2.297, allocations: 224.9 kB / 1.178 GB, free: 39.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/2.297, allocations: 242.1 kB / 1.179 GB, free: 39.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/2.297, allocations: 0 / 1.179 GB, free: 39.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001246/2.299, allocations: 0.7137 MB / 1.179 GB, free: 38.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/2.299, allocations: 5.406 kB / 1.179 GB, free: 38.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/2.299, allocations: 0 / 1.179 GB, free: 38.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004072/2.299, allocations: 112.7 kB / 1.179 GB, free: 38.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/2.299, allocations: 103.8 kB / 1.179 GB, free: 38.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/2.301, allocations: 2.015 MB / 1.181 GB, free: 36.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/2.302, allocations: 40.06 kB / 1.181 GB, free: 36.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/2.302, allocations: 19.98 kB / 1.181 GB, free: 36.28 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.0003695/2.302, allocations: 197.5 kB / 1.182 GB, free: 36.08 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/2.303, allocations: 67.25 kB / 1.182 GB, free: 36.01 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/2.304, allocations: 0.8858 MB / 1.183 GB, free: 35.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/2.304, allocations: 4 kB / 1.183 GB, free: 35.11 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/2.304, allocations: 4 kB / 1.183 GB, free: 35.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/2.304, allocations: 8.094 kB / 1.183 GB, free: 35.09 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/2.307, allocations: 1.688 MB / 1.184 GB, free: 33.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/2.307, allocations: 3.984 kB / 1.184 GB, free: 33.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/2.307, allocations: 103.9 kB / 1.184 GB, free: 33.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003518/2.308, allocations: 120.6 kB / 1.184 GB, free: 33.11 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.573e-05/2.308, allocations: 23.98 kB / 1.184 GB, free: 33.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/2.309, allocations: 1.995 MB / 1.186 GB, free: 30.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/2.309, allocations: 64 / 1.186 GB, free: 30.96 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/2.311, allocations: 1.19 MB / 1.188 GB, free: 29.75 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/2.311, allocations: 136.3 kB / 1.188 GB, free: 29.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.852e-05/2.311, allocations: 12 kB / 1.188 GB, free: 29.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/2.312, allocations: 44.03 kB / 1.188 GB, free: 29.54 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/2.312, allocations: 48.48 kB / 1.188 GB, free: 29.49 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/2.312, allocations: 27.92 kB / 1.188 GB, free: 29.46 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000315/2.312, allocations: 310.9 kB / 1.188 GB, free: 29.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/2.312, allocations: 0 / 1.188 GB, free: 29.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001389/2.314, allocations: 375.7 kB / 1.189 GB, free: 28.8 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.001559/2.315, allocations: 0.7862 MB / 1.189 GB, free: 28 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001434/2.317, allocations: 0.7654 MB / 1.19 GB, free: 27.21 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/2.317, allocations: 4 kB / 1.19 GB, free: 27.21 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007745/2.318, allocations: 0.5306 MB / 1.191 GB, free: 26.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/2.319, allocations: 173.9 kB / 1.191 GB, free: 26.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/2.321, allocations: 1.682 MB / 1.192 GB, free: 24.78 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/2.322, allocations: 0.9655 MB / 1.193 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004345/2.322, allocations: 116.2 kB / 1.193 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/2.322, allocations: 59.41 kB / 1.193 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of SimCode: time 8.81e-07/2.322, allocations: 0 / 1.193 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of Templates: time 0.02734/2.349, allocations: 16.89 MB / 1.21 GB, free: 6.793 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