Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01183/0.01183, allocations: 170 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001141/0.001141, allocations: 94.84 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.8819/0.8819, 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.0003609/0.0003609, allocations: 8 kB / 485.2 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4491, allocations: 66.28 MB / 0.5386 GB, free: 45.64 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7835/1.233, allocations: 442 MB / 0.9703 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.233, allocations: 86.77 kB / 0.9703 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7807/2.014, allocations: 248.7 MB / 1.213 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.405e-06/2.014, allocations: 192 / 1.213 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.587e-05/2.014, allocations: 43.92 kB / 1.213 GB, free: 3.871 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003872/2.018, allocations: 1.773 MB / 1.215 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/2.018, allocations: 8.031 kB / 1.215 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/2.018, allocations: 158.2 kB / 1.215 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/2.019, allocations: 0.7372 MB / 1.216 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/2.019, allocations: 98.73 kB / 1.216 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/2.02, allocations: 119.9 kB / 1.216 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3595/2.379, allocations: 1.412 MB / 1.217 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/2.379, allocations: 0 / 1.217 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/2.379, allocations: 47.84 kB / 1.218 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.505e-05/2.379, allocations: 38.7 kB / 1.218 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/2.382, allocations: 1.715 MB / 1.219 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007139/2.389, allocations: 6.404 MB / 1.225 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/2.392, allocations: 1.514 MB / 1.227 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004551/2.396, allocations: 3.613 MB / 1.23 GB, free: 98.92 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/2.398, allocations: 0.8182 MB / 1.231 GB, free: 98.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=136): time 3.857e-06/2.398, allocations: 0 / 1.231 GB, free: 98.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=137): time 0.007792/2.405, allocations: 4.548 MB / 1.236 GB, free: 97.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/2.406, allocations: 68.41 kB / 1.236 GB, free: 97.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/2.406, allocations: 477.9 kB / 1.236 GB, free: 97.67 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.833e-05/2.406, allocations: 46.36 kB / 1.236 GB, free: 97.64 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/2.407, allocations: 462.1 kB / 1.237 GB, free: 97.47 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004274/2.407, allocations: 462.9 kB / 1.237 GB, free: 97.24 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/2.407, allocations: 24.19 kB / 1.237 GB, free: 97.24 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001992/2.407, allocations: 405.7 kB / 1.238 GB, free: 96.92 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/2.408, allocations: 0.5827 MB / 1.238 GB, free: 96.92 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/2.41, allocations: 0.6941 MB / 1.239 GB, free: 96.87 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/2.411, allocations: 0.6813 MB / 1.239 GB, free: 96.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/2.411, allocations: 3.156 kB / 1.24 GB, free: 96.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003543/2.414, allocations: 1.735 MB / 1.241 GB, free: 96.67 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/2.414, allocations: 31.2 kB / 1.241 GB, free: 96.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/2.414, allocations: 2.094 kB / 1.241 GB, free: 96.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005284/2.415, allocations: 166.4 kB / 1.241 GB, free: 96.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/2.416, allocations: 254.4 kB / 1.242 GB, free: 96.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/2.42, allocations: 2.685 MB / 1.244 GB, free: 95.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/2.421, allocations: 100.8 kB / 1.244 GB, free: 95.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/2.421, allocations: 52.34 kB / 1.244 GB, free: 95.28 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 3 * 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 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000798/2.422, allocations: 286 kB / 1.245 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/2.422, allocations: 102.5 kB / 1.245 GB, free: 95.11 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005198/2.428, allocations: 2.274 MB / 1.247 GB, free: 94.97 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/2.428, allocations: 17.72 kB / 1.247 GB, free: 94.97 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/2.428, allocations: 2.406 kB / 1.247 GB, free: 94.97 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/2.428, allocations: 14.56 kB / 1.247 GB, free: 94.97 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006848/2.435, allocations: 3.75 MB / 1.251 GB, free: 94.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/2.435, allocations: 2.516 kB / 1.251 GB, free: 94.58 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/2.436, allocations: 285.9 kB / 1.251 GB, free: 94.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004808/2.436, allocations: 145.7 kB / 1.251 GB, free: 94.57 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/2.436, allocations: 55.34 kB / 1.251 GB, free: 94.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/2.439, allocations: 2.396 MB / 1.253 GB, free: 93.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/2.439, allocations: 5.766 kB / 1.253 GB, free: 93.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005721/2.445, allocations: 2.888 MB / 1.256 GB, free: 92.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/2.445, allocations: 173 kB / 1.256 GB, free: 92.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/2.445, allocations: 35.81 kB / 1.257 GB, free: 92.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007385/2.446, allocations: 98.59 kB / 1.257 GB, free: 92.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/2.447, allocations: 129.4 kB / 1.257 GB, free: 92.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/2.447, allocations: 58.36 kB / 1.257 GB, free: 92.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005904/2.447, allocations: 374.8 kB / 1.257 GB, free: 92.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.61e-07/2.447, allocations: 0 / 1.257 GB, free: 92.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002505/2.45, allocations: 0.5728 MB / 1.258 GB, free: 92.68 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (junctionRFF2_1.junctionMN.rears[1].m_flow,junctionRFF2_1.junctionMN.fores[1].m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001903/2.452, allocations: 0.9171 MB / 1.259 GB, free: 92.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003495/2.455, allocations: 1.83 MB / 1.26 GB, free: 92.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/2.455, allocations: 2.719 kB / 1.26 GB, free: 92.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/2.457, allocations: 1.102 MB / 1.261 GB, free: 92.17 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/2.458, allocations: 301 kB / 1.262 GB, free: 92.16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/2.463, allocations: 2.986 MB / 1.265 GB, free: 90.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/2.463, allocations: 1.174 MB / 1.266 GB, free: 90.21 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001077/2.464, allocations: 321.3 kB / 1.266 GB, free: 90.17 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/2.465, allocations: 138.1 kB / 1.266 GB, free: 90.16 MB / 0.5886 GB Notification: Performance of SimCode: time 1.443e-06/2.465, allocations: 0 / 1.266 GB, free: 90.16 MB / 0.5886 GB Notification: Performance of Templates: time 0.04742/2.512, allocations: 27.25 MB / 1.293 GB, free: 89.11 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.TanValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches