Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_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-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/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_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_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.00184/0.00184, allocations: 183.3 kB / 16.12 MB, free: 5.691 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.726/1.726, allocations: 205.4 MB / 222.3 MB, free: 9.023 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.001091/0.001091, allocations: 92.84 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8903/0.8903, allocations: 89.57 MB / 408.5 MB, free: 4.52 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 16.2 kB / 485.2 MB, free: 7.668 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4193, allocations: 66.01 MB / 0.5383 GB, free: 34.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.607, allocations: 437.7 MB / 0.9657 GB, free: 189.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/1.608, allocations: 88.83 kB / 0.9657 GB, free: 189.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8641/2.472, allocations: 203.3 MB / 1.164 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.815e-06/2.472, allocations: 3.281 kB / 1.164 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.107e-05/2.472, allocations: 24 kB / 1.164 GB, free: 140.5 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.002431/2.474, allocations: 1.21 MB / 1.165 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/2.474, allocations: 7.812 kB / 1.165 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/2.474, allocations: 98.69 kB / 1.166 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007502/2.475, allocations: 0.53 MB / 1.166 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/2.475, allocations: 54.94 kB / 1.166 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/2.475, allocations: 72.06 kB / 1.166 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/2.477, allocations: 0.6652 MB / 1.167 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/2.477, allocations: 0 / 1.167 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/2.477, allocations: 32.16 kB / 1.167 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/2.477, allocations: 19.31 kB / 1.167 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/2.478, allocations: 0.6427 MB / 1.168 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/2.482, allocations: 3.16 MB / 1.171 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/2.484, allocations: 0.7153 MB / 1.171 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/2.484, allocations: 302.7 kB / 1.172 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/2.485, allocations: 0.9826 MB / 1.173 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/2.485, allocations: 40.47 kB / 1.173 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 4.618e-06/2.485, allocations: 2.969 kB / 1.173 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61): time 0.004009/2.489, allocations: 1.984 MB / 1.175 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/2.489, allocations: 59.56 kB / 1.175 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/2.49, allocations: 435.6 kB / 1.175 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/2.49, allocations: 39.14 kB / 1.175 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/2.49, allocations: 338.5 kB / 1.175 GB, free: 135.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/2.49, allocations: 212.7 kB / 1.176 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/2.49, allocations: 7.75 kB / 1.176 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001535/2.49, allocations: 370.6 kB / 1.176 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/2.491, allocations: 212.3 kB / 1.176 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/2.491, allocations: 229.5 kB / 1.176 GB, free: 135 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007347/2.492, allocations: 0.4972 MB / 1.177 GB, free: 135 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/2.492, allocations: 0 / 1.177 GB, free: 135 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001273/2.493, allocations: 0.7139 MB / 1.178 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/2.493, allocations: 7.594 kB / 1.178 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/2.493, allocations: 3.688 kB / 1.178 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/2.494, allocations: 111 kB / 1.178 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/2.494, allocations: 97.62 kB / 1.178 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/2.496, allocations: 1.975 MB / 1.18 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/2.497, allocations: 39.23 kB / 1.18 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/2.497, allocations: 18.45 kB / 1.18 GB, free: 133.7 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.0004317/2.497, allocations: 199.9 kB / 1.18 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/2.497, allocations: 67.14 kB / 1.18 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/2.499, allocations: 0.8712 MB / 1.181 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/2.499, allocations: 11.11 kB / 1.181 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/2.499, allocations: 3.438 kB / 1.181 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/2.499, allocations: 0 / 1.181 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/2.502, allocations: 1.674 MB / 1.182 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/2.502, allocations: 3.562 kB / 1.182 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/2.502, allocations: 110.5 kB / 1.183 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000364/2.503, allocations: 110 kB / 1.183 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/2.503, allocations: 22.89 kB / 1.183 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/2.505, allocations: 1.96 MB / 1.185 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.505, allocations: 0 / 1.185 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/2.507, allocations: 1.179 MB / 1.186 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/2.507, allocations: 130.3 kB / 1.186 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.169e-05/2.507, allocations: 22.75 kB / 1.186 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/2.507, allocations: 44.92 kB / 1.186 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/2.508, allocations: 54.53 kB / 1.186 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/2.508, allocations: 26.45 kB / 1.186 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003977/2.508, allocations: 308.8 kB / 1.186 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/2.508, allocations: 0 / 1.186 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001478/2.509, allocations: 371.8 kB / 1.187 GB, free: 131.3 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.001319/2.511, allocations: 0.7798 MB / 1.187 GB, free: 131.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001413/2.512, allocations: 0.7595 MB / 1.188 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/2.512, allocations: 0 / 1.188 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007677/2.513, allocations: 0.5353 MB / 1.189 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/2.514, allocations: 177.8 kB / 1.189 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/2.517, allocations: 1.702 MB / 1.191 GB, free: 130 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/2.517, allocations: 0.9471 MB / 1.191 GB, free: 129.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004004/2.517, allocations: 110.7 kB / 1.192 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/2.518, allocations: 60.73 kB / 1.192 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.713e-06/2.518, allocations: 3.75 kB / 1.192 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.03153/2.549, allocations: 17.15 MB / 1.208 GB, free: 128.6 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches