Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_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_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009264/0.0009266, 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.389/1.389, allocations: 205.3 MB / 213.4 MB, free: 13.7 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.0007947/0.0007948, allocations: 88.97 kB / 261.4 MB, free: 13.43 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.7397/0.7397, 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 1.725e-05/1.728e-05, allocations: 0 / 472.2 MB, free: 3.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3774, allocations: 66.25 MB / 0.5258 GB, free: 29.09 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/1.616, allocations: 437.5 MB / 0.9531 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.616, allocations: 85.67 kB / 0.9532 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1493/1.765, allocations: 73.33 MB / 1.025 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.643e-06/1.765, allocations: 0 / 1.025 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.102e-05/1.766, allocations: 19.92 kB / 1.025 GB, free: 129 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001625/1.767, allocations: 0.7195 MB / 1.025 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1.767, allocations: 12.03 kB / 1.025 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/1.767, allocations: 47.44 kB / 1.026 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/1.768, allocations: 318.2 kB / 1.026 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/1.768, allocations: 12 kB / 1.026 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/1.768, allocations: 23.98 kB / 1.026 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004689/1.768, allocations: 321.5 kB / 1.026 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/1.769, allocations: 350.1 kB / 1.027 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.769, allocations: 0 / 1.027 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/1.769, allocations: 0 / 1.027 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/1.769, allocations: 8 kB / 1.027 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/1.771, allocations: 1.804 MB / 1.028 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/1.771, allocations: 387.1 kB / 1.029 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/1.772, allocations: 173.2 kB / 1.029 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/1.773, allocations: 1.289 MB / 1.03 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/1.774, allocations: 217.2 kB / 1.03 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=41): time 1.884e-06/1.774, allocations: 0 / 1.03 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=41): time 0.001092/1.775, allocations: 437.4 kB / 1.031 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/1.775, allocations: 59.41 kB / 1.031 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/1.775, allocations: 214.3 kB / 1.031 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/1.775, allocations: 29.64 kB / 1.031 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/1.775, allocations: 200.5 kB / 1.031 GB, free: 122 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/1.775, allocations: 130 kB / 1.031 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/1.775, allocations: 4 kB / 1.031 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/1.775, allocations: 342.8 kB / 1.032 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/1.775, allocations: 120.8 kB / 1.032 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/1.776, allocations: 172.9 kB / 1.032 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/1.776, allocations: 189.1 kB / 1.032 GB, free: 121 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.776, allocations: 0 / 1.032 GB, free: 121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001035/1.777, allocations: 483.5 kB / 1.033 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/1.777, allocations: 30.64 kB / 1.033 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.777, allocations: 4 kB / 1.033 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/1.777, allocations: 40.83 kB / 1.033 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/1.778, allocations: 76.05 kB / 1.033 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009255/1.779, allocations: 1.381 MB / 1.034 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/1.779, allocations: 31.8 kB / 1.034 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/1.779, allocations: 19.98 kB / 1.034 GB, free: 118.8 MB / 0.5886 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.0001016/1.779, allocations: 112.9 kB / 1.034 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/1.779, allocations: 39.48 kB / 1.034 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/1.78, allocations: 0.5169 MB / 1.035 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.78, allocations: 8 kB / 1.035 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/1.78, allocations: 0 / 1.035 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/1.78, allocations: 7.922 kB / 1.035 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/1.782, allocations: 1.008 MB / 1.036 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.782, allocations: 7.984 kB / 1.036 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/1.782, allocations: 71.89 kB / 1.036 GB, free: 117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/1.782, allocations: 44.94 kB / 1.036 GB, free: 117 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/1.782, allocations: 11.98 kB / 1.036 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000796/1.783, allocations: 1.373 MB / 1.037 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.783, allocations: 0 / 1.037 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/1.784, allocations: 0.74 MB / 1.038 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-05/1.785, allocations: 112.6 kB / 1.038 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/1.785, allocations: 8 kB / 1.038 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/1.785, allocations: 19.98 kB / 1.038 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.785, allocations: 43.89 kB / 1.038 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/1.785, allocations: 12 kB / 1.038 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001228/1.785, allocations: 170 kB / 1.038 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.5e-07/1.785, allocations: 4 kB / 1.038 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006311/1.786, allocations: 167.7 kB / 1.038 GB, free: 114.1 MB / 0.5886 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.000561/1.786, allocations: 328.3 kB / 1.039 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007267/1.787, allocations: 0.5122 MB / 1.039 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.787, allocations: 0 / 1.039 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/1.787, allocations: 313.6 kB / 1.04 GB, free: 113 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006325/1.788, allocations: 106.1 kB / 1.04 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/1.789, allocations: 0.5107 MB / 1.04 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/1.789, allocations: 0.8073 MB / 1.041 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002778/1.79, allocations: 67.02 kB / 1.041 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.039e-05/1.79, allocations: 39.42 kB / 1.041 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of SimCode: time 8.42e-07/1.79, allocations: 0 / 1.041 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.01193/1.802, allocations: 7.399 MB / 1.048 GB, free: 104 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches