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.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.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.001018, allocations: 170.1 kB / 16.11 MB, free: 5.586 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.457/1.457, allocations: 205.4 MB / 222.3 MB, free: 9.012 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.0008381/0.000838, allocations: 90.38 kB / 270.6 MB, free: 8.25 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.7251/0.7251, allocations: 89.62 MB / 408.5 MB, free: 4.477 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003855, allocations: 12.22 kB / 485.2 MB, free: 7.621 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3155, allocations: 66.01 MB / 0.5383 GB, free: 34.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6221/0.9377, allocations: 354.1 MB / 0.8841 GB, free: 6.934 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.938, allocations: 86.08 kB / 0.8841 GB, free: 6.895 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.136/2.074, allocations: 339.4 MB / 1.216 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.134e-06/2.074, allocations: 0 / 1.216 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.839e-05/2.074, allocations: 45.69 kB / 1.216 GB, free: 109.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.003268/2.077, allocations: 1.922 MB / 1.218 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/2.077, allocations: 6.781 kB / 1.218 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004181/2.078, allocations: 198.5 kB / 1.218 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/2.079, allocations: 0.8187 MB / 1.219 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/2.079, allocations: 85.34 kB / 1.219 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/2.079, allocations: 120.2 kB / 1.219 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/2.08, allocations: 1.09 MB / 1.22 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/2.08, allocations: 0 / 1.22 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/2.08, allocations: 50.06 kB / 1.22 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/2.08, allocations: 27.78 kB / 1.22 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/2.082, allocations: 1.156 MB / 1.221 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004326/2.086, allocations: 4.867 MB / 1.226 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/2.088, allocations: 1.215 MB / 1.227 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/2.088, allocations: 0.5462 MB / 1.227 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003148/2.091, allocations: 3.733 MB / 1.231 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/2.091, allocations: 45.22 kB / 1.231 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 2.825e-06/2.091, allocations: 3.938 kB / 1.231 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=115): time 0.002879/2.094, allocations: 1.914 MB / 1.233 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/2.094, allocations: 64.03 kB / 1.233 GB, free: 102.1 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.3.1-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.0008244/2.095, allocations: 0.8007 MB / 1.234 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/2.095, allocations: 40.98 kB / 1.234 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/2.096, allocations: 0.5521 MB / 1.234 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/2.096, allocations: 395.2 kB / 1.235 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/2.096, allocations: 17.78 kB / 1.235 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.489e-05/2.096, allocations: 346.2 kB / 1.235 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/2.096, allocations: 383.5 kB / 1.236 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/2.097, allocations: 472.6 kB / 1.236 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/2.098, allocations: 0.8893 MB / 1.237 GB, free: 101 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/2.098, allocations: 3.938 kB / 1.237 GB, free: 101 MB / 0.5886 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001724/2.1, allocations: 1.238 MB / 1.238 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/2.1, allocations: 10.72 kB / 1.238 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/2.1, allocations: 0 / 1.238 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/2.1, allocations: 144.7 kB / 1.238 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/2.101, allocations: 207.2 kB / 1.238 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/2.104, allocations: 4.466 MB / 1.243 GB, free: 97.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/2.104, allocations: 104.4 kB / 1.243 GB, free: 97.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/2.104, allocations: 44.78 kB / 1.243 GB, free: 97.03 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 () * Number of clocked 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.0004242/2.105, allocations: 244.2 kB / 1.243 GB, free: 96.91 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/2.105, allocations: 124.7 kB / 1.243 GB, free: 96.85 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/2.107, allocations: 1.462 MB / 1.245 GB, free: 96.71 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/2.107, allocations: 18.81 kB / 1.245 GB, free: 96.71 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/2.107, allocations: 6.625 kB / 1.245 GB, free: 96.71 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/2.107, allocations: 7.078 kB / 1.245 GB, free: 96.71 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/2.11, allocations: 2.684 MB / 1.247 GB, free: 96.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/2.11, allocations: 0 / 1.247 GB, free: 96.26 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005461/2.111, allocations: 189 kB / 1.248 GB, free: 96.26 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003926/2.111, allocations: 158.3 kB / 1.248 GB, free: 96.23 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/2.111, allocations: 38.83 kB / 1.248 GB, free: 96.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/2.114, allocations: 4.478 MB / 1.252 GB, free: 92.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/2.114, allocations: 0 / 1.252 GB, free: 92.44 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/2.117, allocations: 1.926 MB / 1.254 GB, free: 92.15 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/2.117, allocations: 299.5 kB / 1.254 GB, free: 91.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/2.117, allocations: 32.45 kB / 1.254 GB, free: 91.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/2.118, allocations: 55.09 kB / 1.254 GB, free: 91.97 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/2.118, allocations: 90.52 kB / 1.254 GB, free: 91.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/2.118, allocations: 41.33 kB / 1.254 GB, free: 91.97 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006102/2.118, allocations: 0.5424 MB / 1.255 GB, free: 91.86 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/2.118, allocations: 0 / 1.255 GB, free: 91.86 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001499/2.12, allocations: 0.6067 MB / 1.256 GB, free: 91.77 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 () * Number of clocked 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.001303/2.121, allocations: 1.154 MB / 1.257 GB, free: 91.39 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001875/2.123, allocations: 1.479 MB / 1.258 GB, free: 90.95 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/2.123, allocations: 3.094 kB / 1.258 GB, free: 90.95 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/2.124, allocations: 1.052 MB / 1.259 GB, free: 90.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/2.126, allocations: 391.2 kB / 1.26 GB, free: 90.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/2.129, allocations: 2.804 MB / 1.262 GB, free: 89.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/2.13, allocations: 1.142 MB / 1.263 GB, free: 88.45 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008087/2.131, allocations: 211.9 kB / 1.264 GB, free: 88.39 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/2.131, allocations: 108.1 kB / 1.264 GB, free: 88.39 MB / 0.5886 GB Notification: Performance of SimCode: time 8.21e-07/2.131, allocations: 0 / 1.264 GB, free: 88.39 MB / 0.5886 GB Notification: Performance of Templates: time 0.03911/2.17, allocations: 28.3 MB / 1.291 GB, free: 83.97 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