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.001554/0.001554, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008067/0.0008068, allocations: 93.05 kB / 261.4 MB, free: 13.44 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.36 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.242e-05, allocations: 4 kB / 472.2 MB, free: 3.465 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3649, allocations: 66.25 MB / 0.5258 GB, free: 28.95 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/1.481, allocations: 441.3 MB / 0.9568 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/1.481, allocations: 86.31 kB / 0.9569 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.865/2.346, allocations: 246.6 MB / 1.198 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.953e-06/2.346, allocations: 2.875 kB / 1.198 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.34e-05/2.347, allocations: 37.8 kB / 1.198 GB, free: 125.4 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.003918/2.35, allocations: 1.669 MB / 1.199 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/2.351, allocations: 10.22 kB / 1.199 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/2.351, allocations: 161 kB / 1.199 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/2.352, allocations: 0.736 MB / 1.2 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/2.352, allocations: 41.27 kB / 1.2 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/2.352, allocations: 84.75 kB / 1.2 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002391/2.355, allocations: 1.564 MB / 1.202 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/2.356, allocations: 1.195 MB / 1.203 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/2.357, allocations: 0 / 1.203 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.995e-05/2.357, allocations: 3.953 kB / 1.203 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/2.357, allocations: 40.55 kB / 1.203 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005881/2.363, allocations: 6.198 MB / 1.209 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/2.364, allocations: 1.402 MB / 1.21 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008429/2.365, allocations: 0.6875 MB / 1.211 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00426/2.37, allocations: 3.61 MB / 1.215 GB, free: 118.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/2.371, allocations: 0.7339 MB / 1.215 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=136): time 3.997e-06/2.371, allocations: 0 / 1.215 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=137): time 0.01214/2.383, allocations: 4.129 MB / 1.219 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/2.383, allocations: 71.16 kB / 1.219 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005033/2.383, allocations: 412.3 kB / 1.22 GB, free: 118 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.741e-05/2.384, allocations: 29.52 kB / 1.22 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/2.384, allocations: 462.8 kB / 1.22 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/2.384, allocations: 441.9 kB / 1.221 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/2.384, allocations: 2.688 kB / 1.221 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001376/2.384, allocations: 407.6 kB / 1.221 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006902/2.385, allocations: 0.5171 MB / 1.222 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/2.386, allocations: 0.6087 MB / 1.222 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/2.389, allocations: 0.9332 MB / 1.223 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/2.389, allocations: 0 / 1.223 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004642/2.394, allocations: 1.866 MB / 1.225 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/2.394, allocations: 42.02 kB / 1.225 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/2.394, allocations: 3.25 kB / 1.225 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/2.394, allocations: 160.6 kB / 1.225 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009439/2.395, allocations: 249.7 kB / 1.225 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003417/2.399, allocations: 2.624 MB / 1.228 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009504/2.4, allocations: 77.34 kB / 1.228 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/2.4, allocations: 56.77 kB / 1.228 GB, free: 115.6 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.0002098/2.4, allocations: 122.4 kB / 1.228 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/2.4, allocations: 96.66 kB / 1.228 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00504/2.405, allocations: 2.301 MB / 1.231 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/2.405, allocations: 19.5 kB / 1.231 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/2.405, allocations: 0 / 1.231 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/2.405, allocations: 7.594 kB / 1.231 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006512/2.412, allocations: 3.625 MB / 1.234 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/2.412, allocations: 3.875 kB / 1.234 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009713/2.413, allocations: 286.5 kB / 1.234 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003953/2.413, allocations: 147.5 kB / 1.235 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.345e-05/2.413, allocations: 37.73 kB / 1.235 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/2.416, allocations: 2.286 MB / 1.237 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/2.416, allocations: 3.906 kB / 1.237 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005199/2.421, allocations: 2.874 MB / 1.24 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/2.421, allocations: 163.5 kB / 1.24 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/2.421, allocations: 15.17 kB / 1.24 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/2.422, allocations: 74.61 kB / 1.24 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/2.422, allocations: 129.9 kB / 1.24 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/2.422, allocations: 53.36 kB / 1.24 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003496/2.423, allocations: 331.9 kB / 1.24 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.61e-07/2.423, allocations: 0 / 1.24 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001888/2.425, allocations: 0.5271 MB / 1.241 GB, free: 112.1 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.001426/2.426, allocations: 0.9018 MB / 1.242 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002391/2.428, allocations: 1.653 MB / 1.243 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/2.428, allocations: 0 / 1.243 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/2.43, allocations: 1.01 MB / 1.244 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/2.431, allocations: 283 kB / 1.245 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/2.435, allocations: 1.842 MB / 1.246 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/2.435, allocations: 1.169 MB / 1.248 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001156/2.437, allocations: 324 kB / 1.248 GB, free: 109 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/2.437, allocations: 133.9 kB / 1.248 GB, free: 109 MB / 0.5886 GB Notification: Performance of SimCode: time 1.323e-06/2.437, allocations: 0 / 1.248 GB, free: 109 MB / 0.5886 GB Notification: Performance of Templates: time 0.03518/2.472, allocations: 24.28 MB / 1.272 GB, free: 105.9 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