Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_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_OM_adaptions_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.001391/0.001392, allocations: 180.9 kB / 7.651 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.635/1.635, 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.0009584/0.0009583, allocations: 93.64 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.8212/0.8212, allocations: 90.36 MB / 399.7 MB, free: 12.1 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.956e-05/1.958e-05, allocations: 4 kB / 472.2 MB, free: 3.449 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.383, allocations: 66.26 MB / 0.5258 GB, free: 29.04 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.418, allocations: 437 MB / 0.9526 GB, free: 218.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/1.419, allocations: 75.97 kB / 0.9527 GB, free: 218.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.387/1.806, allocations: 203.4 MB / 1.151 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.222e-06/1.806, allocations: 4 kB / 1.151 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.255e-05/1.806, allocations: 27.98 kB / 1.151 GB, free: 13 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.001964/1.808, allocations: 1.138 MB / 1.152 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.808, allocations: 8.031 kB / 1.152 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/1.808, allocations: 98.78 kB / 1.153 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/1.808, allocations: 0.4986 MB / 1.153 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/1.809, allocations: 31.95 kB / 1.153 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/1.809, allocations: 40 kB / 1.153 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007433/1.809, allocations: 0.5623 MB / 1.154 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007959/1.81, allocations: 0.5346 MB / 1.154 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/1.81, allocations: 0 / 1.154 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/1.81, allocations: 0 / 1.154 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/1.81, allocations: 16 kB / 1.154 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/1.813, allocations: 3.064 MB / 1.157 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.814, allocations: 0.6615 MB / 1.158 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/1.814, allocations: 258.5 kB / 1.158 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005173/1.815, allocations: 0.99 MB / 1.159 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/1.815, allocations: 39.12 kB / 1.159 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 2.545e-06/1.815, allocations: 0 / 1.159 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61): time 0.003097/1.818, allocations: 1.373 MB / 1.16 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/1.818, allocations: 63.86 kB / 1.16 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/1.818, allocations: 333.3 kB / 1.161 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/1.818, allocations: 25.7 kB / 1.161 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/1.818, allocations: 344.2 kB / 1.161 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.954e-05/1.818, allocations: 201 kB / 1.161 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/1.818, allocations: 0 / 1.161 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.915e-05/1.819, allocations: 366.8 kB / 1.162 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/1.819, allocations: 189 kB / 1.162 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/1.819, allocations: 187.9 kB / 1.162 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005531/1.82, allocations: 210.1 kB / 1.162 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.82, allocations: 0 / 1.162 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001256/1.821, allocations: 0.624 MB / 1.163 GB, free: 420 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.821, allocations: 5.25 kB / 1.163 GB, free: 416 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.821, allocations: 3.953 kB / 1.163 GB, free: 412 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/1.821, allocations: 116.7 kB / 1.163 GB, free: 292 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/1.822, allocations: 95.88 kB / 1.163 GB, free: 196 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3184/2.14, allocations: 1.898 MB / 1.165 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/2.14, allocations: 34.3 kB / 1.165 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/2.141, allocations: 21.58 kB / 1.165 GB, free: 124.3 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 () * 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.0001078/2.141, allocations: 105.8 kB / 1.165 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/2.141, allocations: 60.27 kB / 1.165 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/2.142, allocations: 0.779 MB / 1.166 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/2.142, allocations: 6.469 kB / 1.166 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/2.143, allocations: 2.438 kB / 1.166 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/2.143, allocations: 3.797 kB / 1.166 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/2.145, allocations: 1.498 MB / 1.167 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/2.145, allocations: 3.094 kB / 1.167 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/2.145, allocations: 105.5 kB / 1.167 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003/2.146, allocations: 115.6 kB / 1.168 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/2.146, allocations: 20.16 kB / 1.168 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/2.147, allocations: 1.886 MB / 1.169 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.147, allocations: 3.812 kB / 1.169 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/2.149, allocations: 1.072 MB / 1.17 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/2.149, allocations: 131.1 kB / 1.171 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/2.149, allocations: 7.625 kB / 1.171 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/2.149, allocations: 33.38 kB / 1.171 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/2.15, allocations: 50.08 kB / 1.171 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/2.15, allocations: 23.02 kB / 1.171 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002658/2.15, allocations: 260.9 kB / 1.171 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.61e-07/2.15, allocations: 0.75 kB / 1.171 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001102/2.151, allocations: 354.7 kB / 1.171 GB, free: 122.2 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 () * 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.0009983/2.152, allocations: 0.8001 MB / 1.172 GB, free: 122 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001041/2.153, allocations: 0.6803 MB / 1.173 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/2.153, allocations: 0 / 1.173 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006719/2.154, allocations: 493.2 kB / 1.173 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008646/2.155, allocations: 177.3 kB / 1.173 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/2.156, allocations: 0.957 MB / 1.174 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/2.157, allocations: 0.962 MB / 1.175 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003384/2.157, allocations: 103.2 kB / 1.175 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/2.157, allocations: 63.67 kB / 1.175 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of SimCode: time 2.61e-07/2.157, allocations: 0 / 1.175 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.02209/2.179, allocations: 14.31 MB / 1.189 GB, free: 120.3 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches