Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001017, allocations: 175 kB / 12.73 MB, free: 2.59 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.526/1.526, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008703/0.0008705, allocations: 84.75 kB / 266.6 MB, free: 9.281 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.7835/0.7835, allocations: 90.35 MB / 405 MB, free: 8.648 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.858e-05, allocations: 4 kB / 479.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3602, allocations: 66.25 MB / 0.5326 GB, free: 28.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7175/1.078, allocations: 354.1 MB / 0.8784 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/1.078, allocations: 79.2 kB / 0.8785 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.298/2.376, allocations: 340.3 MB / 1.211 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.843e-06/2.376, allocations: 0 / 1.211 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.961e-05/2.376, allocations: 45.5 kB / 1.211 GB, free: 102.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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003598/2.38, allocations: 1.785 MB / 1.213 GB, free: 102 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/2.38, allocations: 6.75 kB / 1.213 GB, free: 102 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/2.38, allocations: 198.4 kB / 1.213 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/2.382, allocations: 0.7722 MB / 1.214 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/2.382, allocations: 86.34 kB / 1.214 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/2.382, allocations: 122.8 kB / 1.214 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/2.383, allocations: 1.038 MB / 1.215 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/2.383, allocations: 0 / 1.215 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.89e-05/2.383, allocations: 55.05 kB / 1.215 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/2.384, allocations: 27.31 kB / 1.215 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/2.385, allocations: 1.103 MB / 1.216 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004735/2.39, allocations: 4.898 MB / 1.221 GB, free: 98.83 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/2.391, allocations: 1.186 MB / 1.222 GB, free: 98.79 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/2.392, allocations: 0.5203 MB / 1.222 GB, free: 98.77 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003432/2.395, allocations: 3.802 MB / 1.226 GB, free: 95.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/2.395, allocations: 45.69 kB / 1.226 GB, free: 95.88 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 3.407e-06/2.395, allocations: 0 / 1.226 GB, free: 95.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=115): time 0.001785/2.397, allocations: 1.136 MB / 1.227 GB, free: 95.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/2.397, allocations: 63.59 kB / 1.227 GB, free: 95.66 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:27:3-28:92:writable] Warning: Parameter valveEqualPercentage.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/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveEqualPercentage.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/FlowControl/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveEqualPercentage.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/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveParabolic.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/FlowControl/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveParabolic.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/FlowControl/BasicControlValve.mo:27:3-28:92:writable] Warning: Parameter valveLinear.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/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveLinear.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/FlowControl/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveLinear.Cvs_US 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.0007882/2.398, allocations: 0.6855 MB / 1.228 GB, free: 95.51 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/2.398, allocations: 41.89 kB / 1.228 GB, free: 95.48 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/2.398, allocations: 0.5547 MB / 1.229 GB, free: 95.26 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/2.399, allocations: 392.9 kB / 1.229 GB, free: 95.01 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/2.399, allocations: 23.97 kB / 1.229 GB, free: 95.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.189e-05/2.399, allocations: 342.7 kB / 1.229 GB, free: 94.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/2.399, allocations: 359.7 kB / 1.23 GB, free: 94.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/2.4, allocations: 443.6 kB / 1.23 GB, free: 94.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/2.4, allocations: 410.9 kB / 1.23 GB, free: 94.64 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/2.4, allocations: 0 / 1.23 GB, free: 94.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001857/2.402, allocations: 1.196 MB / 1.232 GB, free: 94.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/2.402, allocations: 3.969 kB / 1.232 GB, free: 94.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/2.402, allocations: 0 / 1.232 GB, free: 94.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000495/2.403, allocations: 155.3 kB / 1.232 GB, free: 94.47 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/2.403, allocations: 189.3 kB / 1.232 GB, free: 94.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/2.406, allocations: 4.467 MB / 1.236 GB, free: 90.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/2.407, allocations: 99.78 kB / 1.236 GB, free: 90.65 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.378e-05/2.407, allocations: 34.98 kB / 1.236 GB, free: 90.65 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001703/2.407, allocations: 165.5 kB / 1.237 GB, free: 90.54 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/2.408, allocations: 118.2 kB / 1.237 GB, free: 90.48 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/2.41, allocations: 1.413 MB / 1.238 GB, free: 90.32 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/2.41, allocations: 15.72 kB / 1.238 GB, free: 90.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/2.41, allocations: 2.781 kB / 1.238 GB, free: 90.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/2.41, allocations: 7.406 kB / 1.238 GB, free: 90.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/2.414, allocations: 2.662 MB / 1.241 GB, free: 89.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/2.414, allocations: 2.719 kB / 1.241 GB, free: 89.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/2.414, allocations: 187 kB / 1.241 GB, free: 89.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004307/2.415, allocations: 155.9 kB / 1.241 GB, free: 89.85 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.998e-05/2.415, allocations: 38.41 kB / 1.241 GB, free: 89.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/2.417, allocations: 4.47 MB / 1.245 GB, free: 86.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/2.417, allocations: 7.5 kB / 1.245 GB, free: 86.06 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/2.42, allocations: 1.87 MB / 1.247 GB, free: 85.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/2.42, allocations: 319.8 kB / 1.248 GB, free: 85.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/2.421, allocations: 27.94 kB / 1.248 GB, free: 85.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/2.421, allocations: 61.59 kB / 1.248 GB, free: 85.54 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/2.421, allocations: 88.06 kB / 1.248 GB, free: 85.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/2.421, allocations: 46.41 kB / 1.248 GB, free: 85.54 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005947/2.422, allocations: 0.5223 MB / 1.248 GB, free: 85.43 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.242e-06/2.422, allocations: 0 / 1.248 GB, free: 85.43 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001695/2.424, allocations: 0.6105 MB / 1.249 GB, free: 85.34 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valveLinear.inlet.m_flow,valveParabolic.inlet.m_flow,valveEqualPercentage.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(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.001496/2.425, allocations: 1.156 MB / 1.25 GB, free: 84.96 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001926/2.427, allocations: 1.422 MB / 1.251 GB, free: 84.51 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.427, allocations: 2.625 kB / 1.251 GB, free: 84.51 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/2.428, allocations: 1.008 MB / 1.252 GB, free: 84.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/2.43, allocations: 382.7 kB / 1.253 GB, free: 84.04 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/2.433, allocations: 1.717 MB / 1.254 GB, free: 83.53 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/2.433, allocations: 1.171 MB / 1.256 GB, free: 82.83 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00078/2.434, allocations: 213.4 kB / 1.256 GB, free: 82.79 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/2.434, allocations: 105.6 kB / 1.256 GB, free: 82.79 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/2.434, allocations: 0 / 1.256 GB, free: 82.79 MB / 0.5886 GB Notification: Performance of Templates: time 0.04083/2.475, allocations: 29.33 MB / 1.285 GB, free: 81.14 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches