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.00122/0.00122, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.589/1.589, allocations: 205.2 MB / 218.5 MB, free: 9.223 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.001145/0.001144, allocations: 86.66 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8226/0.8226, allocations: 90.35 MB / 405 MB, free: 8.641 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.278e-05, allocations: 4 kB / 479.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4087, allocations: 66.25 MB / 0.5326 GB, free: 28.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.623, allocations: 437.7 MB / 0.96 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/1.623, allocations: 76.48 kB / 0.9601 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7081/2.331, allocations: 204.3 MB / 1.16 GB, free: 133 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.853e-06/2.331, allocations: 0 / 1.16 GB, free: 133 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.642e-05/2.331, allocations: 27.12 kB / 1.16 GB, free: 133 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.001961/2.333, allocations: 1.14 MB / 1.161 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/2.333, allocations: 8.5 kB / 1.161 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/2.333, allocations: 96.47 kB / 1.161 GB, free: 132.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006937/2.334, allocations: 0.506 MB / 1.161 GB, free: 132.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/2.334, allocations: 51.94 kB / 1.161 GB, free: 132.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/2.334, allocations: 73.53 kB / 1.162 GB, free: 132.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009896/2.335, allocations: 0.6281 MB / 1.162 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/2.335, allocations: 3 kB / 1.162 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/2.335, allocations: 31.14 kB / 1.162 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/2.335, allocations: 16.19 kB / 1.162 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008847/2.336, allocations: 0.5954 MB / 1.163 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002831/2.339, allocations: 3.178 MB / 1.166 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/2.34, allocations: 0.687 MB / 1.167 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/2.341, allocations: 294.5 kB / 1.167 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004992/2.341, allocations: 0.9844 MB / 1.168 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/2.341, allocations: 37.62 kB / 1.168 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 2.555e-06/2.341, allocations: 0 / 1.168 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61): time 0.002552/2.344, allocations: 1.474 MB / 1.169 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/2.344, allocations: 61.34 kB / 1.169 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/2.344, allocations: 378.2 kB / 1.17 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/2.344, allocations: 35.55 kB / 1.17 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/2.345, allocations: 333.5 kB / 1.17 GB, free: 128.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/2.345, allocations: 215.6 kB / 1.17 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/2.345, allocations: 10.03 kB / 1.17 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/2.345, allocations: 375.9 kB / 1.171 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/2.345, allocations: 196.4 kB / 1.171 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/2.345, allocations: 199.4 kB / 1.171 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/2.346, allocations: 217.6 kB / 1.171 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/2.346, allocations: 1.25 kB / 1.171 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001112/2.347, allocations: 0.6745 MB / 1.172 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/2.347, allocations: 5.406 kB / 1.172 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/2.347, allocations: 0 / 1.172 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/2.347, allocations: 108.7 kB / 1.172 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/2.348, allocations: 96.73 kB / 1.172 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/2.349, allocations: 1.966 MB / 1.174 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/2.35, allocations: 53.59 kB / 1.174 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/2.35, allocations: 19.42 kB / 1.174 GB, free: 126.6 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 () * 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.0001075/2.35, allocations: 138 kB / 1.174 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/2.35, allocations: 60.12 kB / 1.174 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/2.352, allocations: 0.8336 MB / 1.175 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/2.352, allocations: 8.5 kB / 1.175 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/2.352, allocations: 6.547 kB / 1.175 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/2.352, allocations: 0 / 1.175 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/2.354, allocations: 1.641 MB / 1.177 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/2.354, allocations: 4.938 kB / 1.177 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/2.354, allocations: 103.9 kB / 1.177 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003293/2.355, allocations: 118.4 kB / 1.177 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.507e-05/2.355, allocations: 28.98 kB / 1.177 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/2.356, allocations: 1.946 MB / 1.179 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/2.356, allocations: 5.328 kB / 1.179 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/2.358, allocations: 1.119 MB / 1.18 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/2.358, allocations: 134 kB / 1.18 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/2.358, allocations: 15.03 kB / 1.18 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/2.358, allocations: 46.5 kB / 1.18 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/2.359, allocations: 55.73 kB / 1.18 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/2.359, allocations: 21.72 kB / 1.18 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003088/2.359, allocations: 299.6 kB / 1.18 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/2.359, allocations: 0 / 1.18 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001141/2.36, allocations: 374.9 kB / 1.181 GB, free: 124.2 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 () * 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.001054/2.361, allocations: 0.7886 MB / 1.182 GB, free: 124 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00111/2.362, allocations: 0.7188 MB / 1.182 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/2.362, allocations: 3.172 kB / 1.182 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006266/2.363, allocations: 0.5073 MB / 1.183 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/2.364, allocations: 172.3 kB / 1.183 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/2.365, allocations: 0.9899 MB / 1.184 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/2.366, allocations: 0.963 MB / 1.185 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003177/2.366, allocations: 111.2 kB / 1.185 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/2.366, allocations: 64.61 kB / 1.185 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/2.366, allocations: 0 / 1.185 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.02244/2.388, allocations: 17.79 MB / 1.202 GB, free: 122 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