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.001606/0.001606, 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.43/1.43, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008223/0.0008224, allocations: 85.06 kB / 266.6 MB, free: 9.27 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.7062/0.7062, allocations: 90.35 MB / 405 MB, free: 8.633 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.621e-05, allocations: 4 kB / 479.2 MB, free: 14.31 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3693, allocations: 66.25 MB / 0.5326 GB, free: 28.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.484, allocations: 441.9 MB / 0.9642 GB, free: 202 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.485, allocations: 87.52 kB / 0.9643 GB, free: 201.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8698/2.354, allocations: 247.8 MB / 1.206 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.653e-06/2.354, allocations: 3.062 kB / 1.206 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001408/2.355, allocations: 39.19 kB / 1.206 GB, free: 122.8 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.004747/2.359, allocations: 1.667 MB / 1.208 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/2.359, allocations: 9.656 kB / 1.208 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006978/2.36, allocations: 154.4 kB / 1.208 GB, free: 122 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/2.362, allocations: 0.7376 MB / 1.209 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.653e-05/2.362, allocations: 94.77 kB / 1.209 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/2.362, allocations: 120.4 kB / 1.209 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/2.365, allocations: 1.366 MB / 1.21 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/2.365, allocations: 3.75 kB / 1.21 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/2.365, allocations: 45.81 kB / 1.21 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/2.365, allocations: 45.8 kB / 1.21 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/2.367, allocations: 1.615 MB / 1.212 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006986/2.374, allocations: 6.402 MB / 1.218 GB, free: 118 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/2.377, allocations: 1.461 MB / 1.22 GB, free: 118 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009456/2.377, allocations: 0.7225 MB / 1.22 GB, free: 118 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004729/2.382, allocations: 3.651 MB / 1.224 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/2.383, allocations: 0.7705 MB / 1.225 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=136): time 3.627e-06/2.383, allocations: 0 / 1.225 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=137): time 0.005944/2.389, allocations: 3.308 MB / 1.228 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/2.389, allocations: 67.84 kB / 1.228 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006353/2.39, allocations: 467.3 kB / 1.229 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.679e-05/2.39, allocations: 48.8 kB / 1.229 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/2.39, allocations: 462.3 kB / 1.229 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/2.391, allocations: 460.7 kB / 1.229 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/2.391, allocations: 24.19 kB / 1.229 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001306/2.391, allocations: 401.5 kB / 1.23 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00082/2.392, allocations: 0.5434 MB / 1.23 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008581/2.393, allocations: 0.6411 MB / 1.231 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009561/2.394, allocations: 0.6389 MB / 1.232 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/2.394, allocations: 3.953 kB / 1.232 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002766/2.396, allocations: 1.647 MB / 1.233 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/2.397, allocations: 29.67 kB / 1.233 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/2.397, allocations: 3.969 kB / 1.233 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005082/2.397, allocations: 161.1 kB / 1.233 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009484/2.398, allocations: 255.9 kB / 1.234 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/2.401, allocations: 2.638 MB / 1.236 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/2.402, allocations: 94.23 kB / 1.236 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/2.403, allocations: 57.22 kB / 1.236 GB, free: 112.9 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 () * 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.0002558/2.403, allocations: 168 kB / 1.237 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/2.403, allocations: 106.7 kB / 1.237 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/2.407, allocations: 2.172 MB / 1.239 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/2.407, allocations: 19.53 kB / 1.239 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/2.407, allocations: 6.609 kB / 1.239 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/2.407, allocations: 9.328 kB / 1.239 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005834/2.413, allocations: 3.646 MB / 1.242 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/2.413, allocations: 0 / 1.242 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/2.414, allocations: 291.3 kB / 1.243 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004234/2.415, allocations: 154.3 kB / 1.243 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/2.415, allocations: 60.67 kB / 1.243 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/2.417, allocations: 2.326 MB / 1.245 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/2.417, allocations: 7.438 kB / 1.245 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004202/2.421, allocations: 2.743 MB / 1.248 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/2.422, allocations: 176.8 kB / 1.248 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/2.422, allocations: 35.02 kB / 1.248 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008912/2.423, allocations: 102.6 kB / 1.248 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/2.423, allocations: 123.6 kB / 1.248 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/2.423, allocations: 52.17 kB / 1.248 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004704/2.424, allocations: 380.9 kB / 1.249 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.81e-07/2.424, allocations: 0 / 1.249 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002182/2.426, allocations: 0.5741 MB / 1.249 GB, free: 108 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) * 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.001625/2.428, allocations: 0.9128 MB / 1.25 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002662/2.43, allocations: 1.73 MB / 1.252 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.43, allocations: 3.812 kB / 1.252 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/2.432, allocations: 1.045 MB / 1.253 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/2.433, allocations: 308 kB / 1.253 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/2.437, allocations: 1.935 MB / 1.255 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007206/2.438, allocations: 1.17 MB / 1.256 GB, free: 105 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001079/2.439, allocations: 320.8 kB / 1.256 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/2.439, allocations: 134.8 kB / 1.257 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/2.439, allocations: 0 / 1.257 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.04027/2.479, allocations: 28.14 MB / 1.284 GB, free: 100.6 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