Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.5 MB / 229.6 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 89.86 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01039/0.01039, allocations: 1.574 MB / 332.8 MB, free: 13.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7786/0.7786, allocations: 90.04 MB / 474 MB, free: 13.02 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.55e-05/1.551e-05, allocations: 0 / 0.5375 GB, free: 33.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1724, allocations: 69.37 MB / 0.6052 GB, free: 116 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.344/1.516, allocations: 437.6 MB / 1.033 GB, free: 120 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003834/1.517, allocations: 85.52 kB / 1.033 GB, free: 120 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1508/1.668, allocations: 74.82 MB / 1.106 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/1.668, allocations: 0 / 1.106 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.433e-05/1.668, allocations: 15.98 kB / 1.106 GB, free: 56.66 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00168/1.669, allocations: 0.7311 MB / 1.106 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.669, allocations: 8.031 kB / 1.106 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/1.67, allocations: 43.53 kB / 1.106 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/1.67, allocations: 322.1 kB / 1.107 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/1.67, allocations: 12 kB / 1.107 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/1.67, allocations: 28 kB / 1.107 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004889/1.671, allocations: 321.5 kB / 1.107 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/1.671, allocations: 342.2 kB / 1.107 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/1.671, allocations: 0 / 1.107 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/1.671, allocations: 3.953 kB / 1.107 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/1.671, allocations: 11.98 kB / 1.107 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/1.673, allocations: 1.793 MB / 1.109 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/1.674, allocations: 394 kB / 1.11 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/1.674, allocations: 174 kB / 1.11 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/1.676, allocations: 1.285 MB / 1.111 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/1.676, allocations: 212.7 kB / 1.111 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.335e-06/1.676, allocations: 0 / 1.111 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=41): time 0.001033/1.677, allocations: 438.2 kB / 1.112 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/1.677, allocations: 55.41 kB / 1.112 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/1.677, allocations: 214.3 kB / 1.112 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/1.677, allocations: 25.7 kB / 1.112 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/1.677, allocations: 192.5 kB / 1.112 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/1.677, allocations: 142 kB / 1.112 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/1.677, allocations: 0 / 1.112 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.306e-05/1.677, allocations: 346.7 kB / 1.113 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/1.678, allocations: 120.9 kB / 1.113 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/1.678, allocations: 172.6 kB / 1.113 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/1.678, allocations: 196.9 kB / 1.113 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.678, allocations: 4 kB / 1.113 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009544/1.679, allocations: 467.9 kB / 1.113 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/1.679, allocations: 37.66 kB / 1.114 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/1.679, allocations: 0 / 1.114 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/1.68, allocations: 40.83 kB / 1.114 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/1.68, allocations: 75.89 kB / 1.114 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008759/1.681, allocations: 1.377 MB / 1.115 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/1.681, allocations: 35.73 kB / 1.115 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/1.681, allocations: 16 kB / 1.115 GB, free: 46.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.681, allocations: 108.9 kB / 1.115 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/1.681, allocations: 35.62 kB / 1.115 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/1.682, allocations: 0.536 MB / 1.116 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/1.682, allocations: 4 kB / 1.116 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/1.682, allocations: 0 / 1.116 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/1.682, allocations: 7.984 kB / 1.116 GB, free: 45.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/1.684, allocations: 0.9999 MB / 1.117 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.684, allocations: 0 / 1.117 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/1.684, allocations: 75.92 kB / 1.117 GB, free: 44.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/1.684, allocations: 40.77 kB / 1.117 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/1.684, allocations: 15.94 kB / 1.117 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007563/1.685, allocations: 1.378 MB / 1.118 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.685, allocations: 7.875 kB / 1.118 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/1.686, allocations: 0.7322 MB / 1.119 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/1.686, allocations: 108.7 kB / 1.119 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/1.687, allocations: 7.938 kB / 1.119 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/1.687, allocations: 19.92 kB / 1.119 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.766e-05/1.687, allocations: 40 kB / 1.119 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/1.687, allocations: 23.98 kB / 1.119 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001162/1.687, allocations: 166 kB / 1.119 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/1.687, allocations: 0 / 1.119 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005994/1.688, allocations: 171.7 kB / 1.119 GB, free: 41.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (checkValve.rear.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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005382/1.688, allocations: 340.1 kB / 1.12 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006819/1.689, allocations: 0.4966 MB / 1.12 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.689, allocations: 0 / 1.12 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/1.689, allocations: 321.8 kB / 1.121 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/1.69, allocations: 99.58 kB / 1.121 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/1.691, allocations: 0.5273 MB / 1.121 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/1.691, allocations: 0.8073 MB / 1.122 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002593/1.691, allocations: 63.09 kB / 1.122 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.016e-05/1.692, allocations: 39.42 kB / 1.122 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/1.692, allocations: 0 / 1.122 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.01197/1.704, allocations: 7.394 MB / 1.129 GB, free: 31.65 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches