Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009297/0.0009298, allocations: 172 kB / 16.11 MB, free: 5.676 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.436/1.436, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.000823/0.0008228, allocations: 88.34 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.737/0.737, allocations: 89.62 MB / 408.5 MB, free: 4.473 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003686, allocations: 8.219 kB / 485.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3294, allocations: 66.02 MB / 0.5383 GB, free: 34.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6389/0.9683, allocations: 355.6 MB / 0.8856 GB, free: 5.289 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.9687, allocations: 86.27 kB / 0.8857 GB, free: 5.246 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.6523/1.621, allocations: 233.5 MB / 1.114 GB, free: 40.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.585e-06/1.621, allocations: 3.938 kB / 1.114 GB, free: 40.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001718/1.621, allocations: 39.98 kB / 1.114 GB, free: 40.08 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004064/1.625, allocations: 1.694 MB / 1.115 GB, free: 38.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.625, allocations: 12.03 kB / 1.115 GB, free: 38.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000649/1.626, allocations: 175 kB / 1.116 GB, free: 38.15 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/1.628, allocations: 0.7717 MB / 1.116 GB, free: 37.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/1.628, allocations: 67.3 kB / 1.116 GB, free: 37.26 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/1.628, allocations: 84 kB / 1.116 GB, free: 37.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/1.629, allocations: 0.7804 MB / 1.117 GB, free: 36.39 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/1.629, allocations: 3.938 kB / 1.117 GB, free: 36.39 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/1.629, allocations: 32 kB / 1.117 GB, free: 36.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/1.629, allocations: 24 kB / 1.117 GB, free: 36.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/1.63, allocations: 0.8237 MB / 1.118 GB, free: 35.51 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/1.634, allocations: 3.564 MB / 1.122 GB, free: 31.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/1.635, allocations: 0.8458 MB / 1.122 GB, free: 30.74 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/1.636, allocations: 405 kB / 1.123 GB, free: 30.35 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002214/1.638, allocations: 2.486 MB / 1.125 GB, free: 27.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/1.638, allocations: 39.22 kB / 1.125 GB, free: 27.49 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=81): time 2.405e-06/1.638, allocations: 0 / 1.125 GB, free: 27.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=81): time 0.002147/1.64, allocations: 1.371 MB / 1.127 GB, free: 26.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/1.64, allocations: 64.06 kB / 1.127 GB, free: 26 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/FlowControl/SpecificValveType.mo:22:3-23: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.3.1-OM_adaptions/FlowControl/SpecificValveType.mo:20:3-21: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.3.1-OM_adaptions/FlowControl/SpecificValveType.mo:24:3-25: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.3.1-OM_adaptions/FlowControl/SpecificValveType.mo:22:3-23: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.3.1-OM_adaptions/FlowControl/SpecificValveType.mo:20:3-21: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.3.1-OM_adaptions/FlowControl/SpecificValveType.mo:14:3-15: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.00118/1.641, allocations: 1.135 MB / 1.128 GB, free: 24.85 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/1.642, allocations: 37.7 kB / 1.128 GB, free: 24.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/1.642, allocations: 0.512 MB / 1.128 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/1.642, allocations: 272 kB / 1.128 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/1.642, allocations: 16 kB / 1.129 GB, free: 24 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.799e-05/1.642, allocations: 330 kB / 1.129 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/1.642, allocations: 277.9 kB / 1.129 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/1.643, allocations: 360 kB / 1.129 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008466/1.644, allocations: 0.6523 MB / 1.13 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.644, allocations: 0 / 1.13 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001301/1.645, allocations: 0.9428 MB / 1.131 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.645, allocations: 4.156 kB / 1.131 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/1.645, allocations: 11.94 kB / 1.131 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/1.645, allocations: 101.6 kB / 1.131 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/1.646, allocations: 139.8 kB / 1.131 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/1.648, allocations: 2.995 MB / 1.134 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/1.648, allocations: 79.33 kB / 1.134 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/1.648, allocations: 31.98 kB / 1.134 GB, free: 17.77 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000449/1.649, allocations: 317.3 kB / 1.135 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.649, allocations: 114.6 kB / 1.135 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/1.651, allocations: 1.081 MB / 1.136 GB, free: 16.24 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.651, allocations: 8 kB / 1.136 GB, free: 16.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.651, allocations: 8 kB / 1.136 GB, free: 16.22 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.651, allocations: 7.922 kB / 1.136 GB, free: 16.21 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/1.653, allocations: 2.122 MB / 1.138 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/1.653, allocations: 4 kB / 1.138 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/1.654, allocations: 132 kB / 1.138 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00026/1.654, allocations: 121.5 kB / 1.138 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/1.654, allocations: 23.98 kB / 1.138 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/1.656, allocations: 2.979 MB / 1.141 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.656, allocations: 4.125 kB / 1.141 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/1.657, allocations: 1.436 MB / 1.142 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/1.658, allocations: 343.2 kB / 1.143 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.74e-05/1.658, allocations: 20 kB / 1.143 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/1.658, allocations: 47.97 kB / 1.143 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.658, allocations: 64.84 kB / 1.143 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/1.658, allocations: 27.98 kB / 1.143 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007987/1.659, allocations: 0.8011 MB / 1.144 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.659, allocations: 0 / 1.144 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001128/1.66, allocations: 467.1 kB / 1.144 GB, free: 7.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.inlet.m_flow,slideValveInverse.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001681/1.662, allocations: 1.038 MB / 1.145 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001472/1.664, allocations: 1.041 MB / 1.146 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.664, allocations: 0 / 1.146 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007258/1.664, allocations: 0.7211 MB / 1.147 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/1.666, allocations: 301.8 kB / 1.147 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/1.669, allocations: 2.669 MB / 1.15 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/1.669, allocations: 1.123 MB / 1.151 GB, free: 364 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006689/1.67, allocations: 202.7 kB / 1.151 GB, free: 156 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/1.67, allocations: 95.41 kB / 1.151 GB, free: 60 kB / 0.5886 GB Notification: Performance of SimCode: time 3.11e-07/1.67, allocations: 0 / 1.151 GB, free: 60 kB / 0.5886 GB Notification: Performance of Templates: time 0.3104/1.981, allocations: 21.43 MB / 1.172 GB, free: 124 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches