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.01097/0.01097, allocations: 172 kB / 15.11 MB, free: 5.969 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.934/1.934, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.001206/0.001206, allocations: 90.84 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.911/0.911, allocations: 90.59 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004238, allocations: 8 kB / 485.2 MB, free: 2.062 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5343/0.5348, allocations: 66.27 MB / 0.5386 GB, free: 45.51 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8135/1.348, allocations: 438.2 MB / 0.9665 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/1.349, allocations: 83.64 kB / 0.9666 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.4912/1.84, allocations: 73.98 MB / 1.039 GB, free: 183.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.954e-06/1.84, allocations: 0 / 1.039 GB, free: 183.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.432e-05/1.84, allocations: 8 kB / 1.039 GB, free: 183.8 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.001848/1.842, allocations: 0.7777 MB / 1.04 GB, free: 183 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.842, allocations: 8.031 kB / 1.04 GB, free: 182.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/1.842, allocations: 43.53 kB / 1.04 GB, free: 182.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/1.843, allocations: 316.8 kB / 1.04 GB, free: 182.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/1.843, allocations: 32.45 kB / 1.04 GB, free: 182.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/1.843, allocations: 31.98 kB / 1.04 GB, free: 182.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/1.844, allocations: 416.9 kB / 1.04 GB, free: 182.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/1.844, allocations: 3.938 kB / 1.04 GB, free: 182.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/1.844, allocations: 16 kB / 1.04 GB, free: 182.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/1.844, allocations: 11.95 kB / 1.04 GB, free: 182.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/1.844, allocations: 386.4 kB / 1.041 GB, free: 181.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/1.846, allocations: 1.866 MB / 1.043 GB, free: 179.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008556/1.847, allocations: 444.7 kB / 1.043 GB, free: 179.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/1.849, allocations: 1.292 MB / 1.044 GB, free: 177.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004329/1.849, allocations: 242.1 kB / 1.045 GB, free: 177.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=41): time 2.775e-06/1.849, allocations: 0 / 1.045 GB, free: 177.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=41): time 0.001493/1.851, allocations: 0.8569 MB / 1.045 GB, free: 176.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/1.851, allocations: 63.3 kB / 1.045 GB, free: 176.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/1.851, allocations: 238.2 kB / 1.046 GB, free: 176.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/1.851, allocations: 29.7 kB / 1.046 GB, free: 176.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.954e-05/1.851, allocations: 197.3 kB / 1.046 GB, free: 176 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/1.851, allocations: 141.2 kB / 1.046 GB, free: 175.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/1.851, allocations: 8 kB / 1.046 GB, free: 175.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.833e-05/1.851, allocations: 342.8 kB / 1.046 GB, free: 175.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/1.852, allocations: 148.8 kB / 1.047 GB, free: 175.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/1.852, allocations: 214.5 kB / 1.047 GB, free: 175.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/1.852, allocations: 191.2 kB / 1.047 GB, free: 175 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.852, allocations: 4 kB / 1.047 GB, free: 175 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009244/1.853, allocations: 0.5246 MB / 1.047 GB, free: 174.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/1.853, allocations: 33.7 kB / 1.047 GB, free: 174.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.853, allocations: 0 / 1.047 GB, free: 174.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/1.854, allocations: 44.77 kB / 1.048 GB, free: 174.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/1.854, allocations: 75.89 kB / 1.048 GB, free: 174.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/1.855, allocations: 1.447 MB / 1.049 GB, free: 172.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/1.855, allocations: 51.7 kB / 1.049 GB, free: 172.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/1.855, allocations: 12 kB / 1.049 GB, free: 172.6 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 () * Number of clocked 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.000179/1.856, allocations: 157.8 kB / 1.049 GB, free: 172.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/1.856, allocations: 43.47 kB / 1.049 GB, free: 172.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/1.857, allocations: 0.5403 MB / 1.05 GB, free: 171.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.857, allocations: 4 kB / 1.05 GB, free: 171.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.857, allocations: 7.984 kB / 1.05 GB, free: 171.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.857, allocations: 4 kB / 1.05 GB, free: 171.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/1.858, allocations: 1.088 MB / 1.051 GB, free: 170.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.858, allocations: 4 kB / 1.051 GB, free: 170.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/1.858, allocations: 67.89 kB / 1.051 GB, free: 170.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/1.859, allocations: 44.81 kB / 1.051 GB, free: 170.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/1.859, allocations: 8 kB / 1.051 GB, free: 170.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008594/1.86, allocations: 1.449 MB / 1.052 GB, free: 169 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.86, allocations: 4.031 kB / 1.052 GB, free: 169 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/1.861, allocations: 0.7906 MB / 1.053 GB, free: 168.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.861, allocations: 112.6 kB / 1.053 GB, free: 168.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/1.861, allocations: 8 kB / 1.053 GB, free: 168.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/1.861, allocations: 31.84 kB / 1.053 GB, free: 168 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/1.861, allocations: 40 kB / 1.053 GB, free: 168 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/1.861, allocations: 19.98 kB / 1.053 GB, free: 168 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001619/1.861, allocations: 190 kB / 1.054 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.861, allocations: 3.938 kB / 1.054 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006951/1.862, allocations: 183.7 kB / 1.054 GB, free: 167.6 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) * Number of clocked states: 0 () * 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.0006082/1.863, allocations: 338.8 kB / 1.054 GB, free: 167.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.864, allocations: 0.568 MB / 1.055 GB, free: 166.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.864, allocations: 0 / 1.055 GB, free: 166.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004781/1.864, allocations: 346.6 kB / 1.055 GB, free: 166.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/1.865, allocations: 106 kB / 1.055 GB, free: 166.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/1.866, allocations: 0.9383 MB / 1.056 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/1.867, allocations: 0.8119 MB / 1.057 GB, free: 164.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002952/1.867, allocations: 75.02 kB / 1.057 GB, free: 164.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.894e-05/1.867, allocations: 43.42 kB / 1.057 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/1.867, allocations: 0 / 1.057 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.0154/1.882, allocations: 8.535 MB / 1.065 GB, free: 155.9 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