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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.001057/0.001057, allocations: 171.5 kB / 16.12 MB, free: 5.551 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.477/1.477, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0007752/0.000775, allocations: 88.92 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.7457/0.7457, allocations: 89.62 MB / 408.5 MB, free: 4.461 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 16 kB / 485.2 MB, free: 7.594 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3519, allocations: 65.99 MB / 0.5383 GB, free: 34.46 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.39, allocations: 442 MB / 0.9699 GB, free: 184.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.391, allocations: 91.94 kB / 0.97 GB, free: 184.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8376/2.228, allocations: 246.6 MB / 1.211 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.665e-06/2.228, allocations: 0 / 1.211 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001384/2.228, allocations: 30.08 kB / 1.211 GB, free: 137.1 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.005256/2.234, allocations: 1.768 MB / 1.213 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/2.234, allocations: 7.844 kB / 1.213 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007361/2.235, allocations: 163.5 kB / 1.213 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/2.236, allocations: 0.7674 MB / 1.213 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.863e-05/2.236, allocations: 89.38 kB / 1.214 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003694/2.237, allocations: 118.7 kB / 1.214 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/2.24, allocations: 1.422 MB / 1.215 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/2.24, allocations: 192 / 1.215 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/2.24, allocations: 53.86 kB / 1.215 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.376e-05/2.24, allocations: 35.84 kB / 1.215 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002748/2.243, allocations: 1.727 MB / 1.217 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00718/2.25, allocations: 6.326 MB / 1.223 GB, free: 132 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/2.252, allocations: 1.521 MB / 1.224 GB, free: 132 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/2.254, allocations: 0.7696 MB / 1.225 GB, free: 132 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004673/2.258, allocations: 3.527 MB / 1.229 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/2.26, allocations: 0.816 MB / 1.229 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=136): time 4.098e-06/2.26, allocations: 0 / 1.229 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=137): time 0.008054/2.268, allocations: 4.318 MB / 1.234 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/2.268, allocations: 71.03 kB / 1.234 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000695/2.268, allocations: 0.5291 MB / 1.234 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.61e-05/2.269, allocations: 53.27 kB / 1.234 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/2.269, allocations: 454.5 kB / 1.235 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/2.269, allocations: 464.8 kB / 1.235 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/2.269, allocations: 23.28 kB / 1.235 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001376/2.269, allocations: 410.5 kB / 1.236 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009543/2.27, allocations: 0.5828 MB / 1.236 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009972/2.271, allocations: 0.6968 MB / 1.237 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/2.273, allocations: 1.39 MB / 1.238 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/2.274, allocations: 2.719 kB / 1.238 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003211/2.277, allocations: 1.741 MB / 1.24 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/2.277, allocations: 36.86 kB / 1.24 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/2.277, allocations: 0 / 1.24 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004958/2.277, allocations: 173.6 kB / 1.24 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/2.278, allocations: 260.6 kB / 1.24 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/2.282, allocations: 2.646 MB / 1.243 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/2.283, allocations: 95.77 kB / 1.243 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/2.283, allocations: 54.66 kB / 1.243 GB, free: 122.8 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.0006873/2.284, allocations: 275.8 kB / 1.243 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/2.284, allocations: 105 kB / 1.243 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/2.288, allocations: 2.251 MB / 1.246 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/2.288, allocations: 17.53 kB / 1.246 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/2.289, allocations: 3.938 kB / 1.246 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/2.289, allocations: 11.36 kB / 1.246 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005966/2.295, allocations: 3.702 MB / 1.249 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/2.295, allocations: 0 / 1.249 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000953/2.296, allocations: 290.9 kB / 1.25 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004084/2.296, allocations: 148.5 kB / 1.25 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/2.296, allocations: 53.48 kB / 1.25 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/2.298, allocations: 2.356 MB / 1.252 GB, free: 118 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/2.298, allocations: 7.906 kB / 1.252 GB, free: 118 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/2.303, allocations: 2.876 MB / 1.255 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/2.303, allocations: 170.9 kB / 1.255 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/2.303, allocations: 33.56 kB / 1.255 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008562/2.304, allocations: 104.5 kB / 1.255 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/2.305, allocations: 124 kB / 1.255 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/2.305, allocations: 56.27 kB / 1.255 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004632/2.305, allocations: 379.4 kB / 1.256 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/2.305, allocations: 2.156 kB / 1.256 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002027/2.307, allocations: 0.5688 MB / 1.256 GB, free: 116.2 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.001769/2.309, allocations: 0.9214 MB / 1.257 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003042/2.312, allocations: 1.825 MB / 1.259 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/2.312, allocations: 0 / 1.259 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/2.314, allocations: 1.096 MB / 1.26 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/2.315, allocations: 325 kB / 1.26 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/2.32, allocations: 2.996 MB / 1.263 GB, free: 113 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/2.321, allocations: 1.143 MB / 1.264 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001168/2.322, allocations: 325.1 kB / 1.265 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/2.322, allocations: 139.2 kB / 1.265 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of SimCode: time 8.41e-07/2.322, allocations: 0 / 1.265 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.04092/2.363, allocations: 27.72 MB / 1.292 GB, free: 87.29 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