Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006549/0.006549, allocations: 171.2 kB / 15.11 MB, free: 5.582 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.853/1.853, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009826/0.0009827, allocations: 98.8 kB / 269.6 MB, free: 13.35 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.925/0.925, allocations: 90.59 MB / 408.4 MB, free: 14.97 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.00034, allocations: 16 kB / 485.2 MB, free: 2.059 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4523, allocations: 66.27 MB / 0.5386 GB, free: 45.51 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.722/1.174, allocations: 359.3 MB / 0.8895 GB, free: 51.81 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.175, allocations: 93.39 kB / 0.8896 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.821/1.996, allocations: 268.1 MB / 1.151 GB, free: 68.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.384e-06/1.996, allocations: 0 / 1.151 GB, free: 68.19 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002307/1.996, allocations: 48.11 kB / 1.151 GB, free: 68.14 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.007098/2.003, allocations: 2.186 MB / 1.154 GB, free: 65.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/2.003, allocations: 12.03 kB / 1.154 GB, free: 65.88 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/2.004, allocations: 238.9 kB / 1.154 GB, free: 65.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/2.007, allocations: 0.9185 MB / 1.155 GB, free: 64.67 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/2.007, allocations: 106.6 kB / 1.155 GB, free: 64.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003996/2.007, allocations: 131.9 kB / 1.155 GB, free: 64.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/2.01, allocations: 1.366 MB / 1.156 GB, free: 63.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/2.01, allocations: 0 / 1.156 GB, free: 63.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/2.011, allocations: 59.98 kB / 1.156 GB, free: 62.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/2.011, allocations: 36 kB / 1.156 GB, free: 62.95 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/2.013, allocations: 1.603 MB / 1.158 GB, free: 61.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007857/2.021, allocations: 6.348 MB / 1.164 GB, free: 54.35 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/2.023, allocations: 1.54 MB / 1.166 GB, free: 52.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005249/2.029, allocations: 4.285 MB / 1.17 GB, free: 48.03 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/2.03, allocations: 0.7316 MB / 1.171 GB, free: 47.29 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=148): time 4.749e-06/2.03, allocations: 0 / 1.171 GB, free: 47.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.004415/2.034, allocations: 2.566 MB / 1.173 GB, free: 44.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/2.034, allocations: 76.66 kB / 1.173 GB, free: 44.51 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter slideValveInverse.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter slideValveInverse.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:27:3-28:92:writable] Warning: Parameter slideValve.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter slideValve.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter slideValve.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:17:3-18:61:writable] Warning: Parameter slideValve.d_valve has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/2.037, allocations: 1.104 MB / 1.174 GB, free: 43.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/2.037, allocations: 49.7 kB / 1.174 GB, free: 43.35 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006234/2.037, allocations: 0.6299 MB / 1.175 GB, free: 42.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/2.038, allocations: 0.4889 MB / 1.175 GB, free: 42.21 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/2.038, allocations: 24 kB / 1.175 GB, free: 42.19 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001239/2.038, allocations: 353.9 kB / 1.176 GB, free: 41.84 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009219/2.039, allocations: 0.5232 MB / 1.176 GB, free: 41.31 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009218/2.04, allocations: 0.6815 MB / 1.177 GB, free: 40.58 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/2.041, allocations: 0.6211 MB / 1.178 GB, free: 39.96 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/2.041, allocations: 0 / 1.178 GB, free: 39.96 MB / 0.5886 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002996/2.044, allocations: 1.651 MB / 1.179 GB, free: 38.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/2.044, allocations: 37.69 kB / 1.179 GB, free: 38.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/2.044, allocations: 4 kB / 1.179 GB, free: 38.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004168/2.044, allocations: 109.7 kB / 1.179 GB, free: 38.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/2.045, allocations: 287.6 kB / 1.18 GB, free: 37.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/2.048, allocations: 3.03 MB / 1.183 GB, free: 34.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/2.049, allocations: 162.8 kB / 1.183 GB, free: 34.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/2.049, allocations: 55.97 kB / 1.183 GB, free: 34.33 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (159): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009045/2.05, allocations: 393.2 kB / 1.183 GB, free: 33.94 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/2.05, allocations: 154 kB / 1.183 GB, free: 33.79 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/2.055, allocations: 2.097 MB / 1.185 GB, free: 31.69 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/2.055, allocations: 20 kB / 1.185 GB, free: 31.67 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/2.055, allocations: 0 / 1.185 GB, free: 31.67 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/2.055, allocations: 7.969 kB / 1.185 GB, free: 31.66 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006656/2.061, allocations: 3.621 MB / 1.189 GB, free: 27.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/2.062, allocations: 0 / 1.189 GB, free: 27.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009949/2.063, allocations: 287.6 kB / 1.189 GB, free: 27.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003992/2.063, allocations: 113.6 kB / 1.189 GB, free: 27.58 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/2.063, allocations: 51.89 kB / 1.189 GB, free: 27.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/2.065, allocations: 3.034 MB / 1.192 GB, free: 24.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/2.065, allocations: 7.922 kB / 1.192 GB, free: 24.22 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/2.07, allocations: 2.6 MB / 1.195 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/2.071, allocations: 0.4984 MB / 1.195 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004158/2.071, allocations: 32 kB / 1.195 GB, free: 21.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/2.073, allocations: 87.84 kB / 1.195 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000296/2.073, allocations: 129.8 kB / 1.196 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/2.073, allocations: 55.95 kB / 1.196 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001615/2.075, allocations: 0.8634 MB / 1.196 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.2e-07/2.075, allocations: 0 / 1.196 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002674/2.077, allocations: 0.6433 MB / 1.197 GB, free: 19.25 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.rear.m_flow,slideValveInverse.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 (162): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002494/2.08, allocations: 1.127 MB / 1.198 GB, free: 18.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003835/2.084, allocations: 1.74 MB / 1.2 GB, free: 16.44 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/2.084, allocations: 0 / 1.2 GB, free: 16.44 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/2.086, allocations: 1.079 MB / 1.201 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/2.088, allocations: 413.2 kB / 1.201 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006912/2.095, allocations: 3.686 MB / 1.205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008303/2.096, allocations: 1.321 MB / 1.206 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001638/2.098, allocations: 345.9 kB / 1.207 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/2.098, allocations: 159.3 kB / 1.207 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of SimCode: time 2.024e-06/2.098, allocations: 0 / 1.207 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of Templates: time 0.3872/2.485, allocations: 29.48 MB / 1.235 GB, free: 106.7 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches