Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_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_ThermofluidStream.FlowControl.Tests.BasicControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008604/0.0008603, allocations: 85.34 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.009213/0.009213, allocations: 1.556 MB / 338 MB, free: 8.488 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5963/0.5963, allocations: 90.04 MB / 479.4 MB, free: 2.98 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.472e-05/5.475e-05, allocations: 7.984 kB / 0.5445 GB, free: 8 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1836, allocations: 69.36 MB / 0.6122 GB, free: 2.551 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.426, allocations: 354.1 MB / 0.958 GB, free: 62.87 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.426, allocations: 88.06 kB / 0.9581 GB, free: 62.82 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.556/2.982, allocations: 347.8 MB / 1.298 GB, free: 90.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/2.982, allocations: 1.016 kB / 1.298 GB, free: 90.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002246/2.982, allocations: 42.25 kB / 1.298 GB, free: 90.17 MB / 0.6042 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.005751/2.988, allocations: 1.775 MB / 1.3 GB, free: 89.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/2.988, allocations: 16.95 kB / 1.3 GB, free: 89.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007943/2.989, allocations: 194.5 kB / 1.3 GB, free: 89.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/2.991, allocations: 0.7771 MB / 1.301 GB, free: 89.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-05/2.991, allocations: 91.09 kB / 1.301 GB, free: 89.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/2.991, allocations: 117.9 kB / 1.301 GB, free: 89.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/2.993, allocations: 1.041 MB / 1.302 GB, free: 89.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/2.993, allocations: 0 / 1.302 GB, free: 89.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-05/2.993, allocations: 48.34 kB / 1.302 GB, free: 89.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/2.993, allocations: 34.84 kB / 1.302 GB, free: 89.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/2.995, allocations: 1.1 MB / 1.303 GB, free: 89.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006339/3.002, allocations: 4.901 MB / 1.308 GB, free: 86.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/3.004, allocations: 1.182 MB / 1.309 GB, free: 86.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007753/3.004, allocations: 0.5214 MB / 1.309 GB, free: 86.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004396/3.009, allocations: 3.813 MB / 1.313 GB, free: 83.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/3.009, allocations: 44.75 kB / 1.313 GB, free: 83.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=115): time 3.206e-06/3.009, allocations: 1.969 kB / 1.313 GB, free: 83.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=115): time 0.002173/3.011, allocations: 1.132 MB / 1.314 GB, free: 83.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/3.011, allocations: 62.78 kB / 1.314 GB, free: 83.45 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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.001021/3.012, allocations: 0.6795 MB / 1.315 GB, free: 83.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/3.012, allocations: 46.95 kB / 1.315 GB, free: 83.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/3.012, allocations: 0.558 MB / 1.316 GB, free: 83.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/3.013, allocations: 393.3 kB / 1.316 GB, free: 82.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/3.013, allocations: 18.38 kB / 1.316 GB, free: 82.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/3.013, allocations: 344.4 kB / 1.316 GB, free: 82.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/3.013, allocations: 356.1 kB / 1.317 GB, free: 82.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/3.014, allocations: 447.2 kB / 1.317 GB, free: 82.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000709/3.015, allocations: 404.8 kB / 1.317 GB, free: 82.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/3.015, allocations: 1.156 kB / 1.317 GB, free: 82.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002168/3.017, allocations: 1.19 MB / 1.319 GB, free: 82.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/3.017, allocations: 6.562 kB / 1.319 GB, free: 82.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/3.017, allocations: 5.578 kB / 1.319 GB, free: 82.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/3.018, allocations: 147.7 kB / 1.319 GB, free: 82.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/3.018, allocations: 195.2 kB / 1.319 GB, free: 82.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/3.021, allocations: 4.464 MB / 1.323 GB, free: 78.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008755/3.022, allocations: 104.4 kB / 1.323 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.272e-05/3.022, allocations: 41.27 kB / 1.323 GB, free: 78.57 MB / 0.6042 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.0001932/3.022, allocations: 159.2 kB / 1.324 GB, free: 78.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/3.023, allocations: 115.2 kB / 1.324 GB, free: 78.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/3.025, allocations: 1.424 MB / 1.325 GB, free: 78.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/3.025, allocations: 10.84 kB / 1.325 GB, free: 78.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/3.025, allocations: 5.375 kB / 1.325 GB, free: 78.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/3.025, allocations: 6.938 kB / 1.325 GB, free: 78.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/3.03, allocations: 2.661 MB / 1.328 GB, free: 77.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/3.03, allocations: 2.078 kB / 1.328 GB, free: 77.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007231/3.03, allocations: 184.5 kB / 1.328 GB, free: 77.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005096/3.031, allocations: 160.5 kB / 1.328 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-05/3.031, allocations: 36.38 kB / 1.328 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003196/3.034, allocations: 4.463 MB / 1.332 GB, free: 74.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/3.034, allocations: 5.234 kB / 1.332 GB, free: 74.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/3.038, allocations: 1.87 MB / 1.334 GB, free: 73.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/3.039, allocations: 317.6 kB / 1.335 GB, free: 73.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/3.039, allocations: 28.78 kB / 1.335 GB, free: 73.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/3.04, allocations: 60.06 kB / 1.335 GB, free: 73.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003249/3.04, allocations: 92.06 kB / 1.335 GB, free: 73.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/3.04, allocations: 44.62 kB / 1.335 GB, free: 73.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001206/3.041, allocations: 0.5251 MB / 1.335 GB, free: 73.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/3.041, allocations: 0 / 1.335 GB, free: 73.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003329/3.045, allocations: 0.6119 MB / 1.336 GB, free: 73.41 MB / 0.6042 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.00236/3.047, allocations: 1.151 MB / 1.337 GB, free: 73.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002621/3.05, allocations: 1.422 MB / 1.338 GB, free: 72.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/3.05, allocations: 1.062 kB / 1.338 GB, free: 72.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/3.051, allocations: 1.019 MB / 1.339 GB, free: 72.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/3.053, allocations: 359.7 kB / 1.34 GB, free: 72.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/3.057, allocations: 1.719 MB / 1.341 GB, free: 71.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008292/3.057, allocations: 1.17 MB / 1.343 GB, free: 70.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009719/3.058, allocations: 214.1 kB / 1.343 GB, free: 70.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/3.059, allocations: 104.6 kB / 1.343 GB, free: 70.92 MB / 0.6042 GB Notification: Performance of SimCode: time 1.132e-06/3.059, allocations: 1.375 kB / 1.343 GB, free: 70.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.04608/3.105, allocations: 29.32 MB / 1.371 GB, free: 69.84 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches