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.001245/0.001245, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.5 MB / 229.6 MB, free: 7.535 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 85.75 kB / 280.5 MB, free: 5.27 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.01246/0.01246, allocations: 1.571 MB / 332.8 MB, free: 13.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7015/0.7015, allocations: 90.03 MB / 474 MB, free: 13.04 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.533e-05/1.534e-05, allocations: 2.844 kB / 0.5375 GB, free: 33.05 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1509, allocations: 69.38 MB / 0.6052 GB, free: 120 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.252, allocations: 353.5 MB / 0.9504 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/1.252, allocations: 79.06 kB / 0.9505 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9888/2.241, allocations: 346.1 MB / 1.288 GB, free: 107 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/2.241, allocations: 0 / 1.288 GB, free: 107 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001438/2.241, allocations: 50.88 kB / 1.289 GB, free: 107 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.004046/2.245, allocations: 1.774 MB / 1.29 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/2.246, allocations: 8.031 kB / 1.29 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007204/2.246, allocations: 192.9 kB / 1.29 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/2.248, allocations: 0.7743 MB / 1.291 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/2.248, allocations: 36 kB / 1.291 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/2.248, allocations: 75.91 kB / 1.291 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001615/2.25, allocations: 1.039 MB / 1.292 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/2.251, allocations: 0.8932 MB / 1.293 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/2.251, allocations: 3.156 kB / 1.293 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/2.251, allocations: 0 / 1.293 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/2.251, allocations: 31.94 kB / 1.293 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004791/2.256, allocations: 4.695 MB / 1.298 GB, free: 97.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/2.257, allocations: 1.134 MB / 1.299 GB, free: 95.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/2.258, allocations: 491.9 kB / 1.299 GB, free: 95.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00336/2.261, allocations: 3.764 MB / 1.303 GB, free: 91.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/2.261, allocations: 43.88 kB / 1.303 GB, free: 91.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=115): time 2.665e-06/2.261, allocations: 3.688 kB / 1.303 GB, free: 91.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=115): time 0.002394/2.264, allocations: 1.052 MB / 1.304 GB, free: 90.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/2.264, allocations: 64.72 kB / 1.304 GB, free: 90.05 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.0007059/2.265, allocations: 0.5984 MB / 1.305 GB, free: 89.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/2.265, allocations: 25.7 kB / 1.305 GB, free: 89.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/2.265, allocations: 0.5548 MB / 1.305 GB, free: 88.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/2.265, allocations: 386.1 kB / 1.306 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/2.265, allocations: 0 / 1.306 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001211/2.265, allocations: 345.2 kB / 1.306 GB, free: 88.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004486/2.266, allocations: 334.6 kB / 1.306 GB, free: 87.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/2.266, allocations: 419.1 kB / 1.307 GB, free: 87.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/2.267, allocations: 366 kB / 1.307 GB, free: 87.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/2.267, allocations: 4 kB / 1.307 GB, free: 87.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002338/2.27, allocations: 1.099 MB / 1.308 GB, free: 85.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/2.27, allocations: 7.812 kB / 1.308 GB, free: 85.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/2.27, allocations: 4 kB / 1.308 GB, free: 85.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/2.27, allocations: 150.5 kB / 1.308 GB, free: 85.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006844/2.271, allocations: 191.1 kB / 1.309 GB, free: 85.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/2.274, allocations: 4.313 MB / 1.313 GB, free: 80.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/2.274, allocations: 81.3 kB / 1.313 GB, free: 80.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/2.275, allocations: 43.92 kB / 1.313 GB, free: 80.8 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.0001672/2.275, allocations: 120.8 kB / 1.313 GB, free: 80.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/2.275, allocations: 114.2 kB / 1.313 GB, free: 80.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/2.278, allocations: 1.307 MB / 1.314 GB, free: 79.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/2.278, allocations: 12 kB / 1.314 GB, free: 79.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/2.278, allocations: 7.312 kB / 1.314 GB, free: 79.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/2.278, allocations: 3.984 kB / 1.314 GB, free: 79.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/2.281, allocations: 2.438 MB / 1.317 GB, free: 76.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/2.281, allocations: 0 / 1.317 GB, free: 76.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/2.282, allocations: 183.8 kB / 1.317 GB, free: 76.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003941/2.282, allocations: 157.5 kB / 1.317 GB, free: 76.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/2.282, allocations: 23.97 kB / 1.317 GB, free: 76.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/2.285, allocations: 4.315 MB / 1.321 GB, free: 71.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/2.285, allocations: 4.031 kB / 1.321 GB, free: 71.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/2.288, allocations: 1.783 MB / 1.323 GB, free: 69.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/2.288, allocations: 311.3 kB / 1.323 GB, free: 69.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/2.288, allocations: 4 kB / 1.323 GB, free: 69.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005989/2.289, allocations: 46.3 kB / 1.323 GB, free: 69.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/2.289, allocations: 83.84 kB / 1.324 GB, free: 69.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.301e-05/2.289, allocations: 47.89 kB / 1.324 GB, free: 69.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004719/2.29, allocations: 455.7 kB / 1.324 GB, free: 68.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/2.29, allocations: 0 / 1.324 GB, free: 68.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001463/2.291, allocations: 0.5731 MB / 1.325 GB, free: 68.39 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.001468/2.293, allocations: 1.162 MB / 1.326 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001758/2.294, allocations: 1.36 MB / 1.327 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/2.294, allocations: 192 / 1.327 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009531/2.295, allocations: 0.9713 MB / 1.328 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/2.297, allocations: 343.5 kB / 1.328 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/2.3, allocations: 1.656 MB / 1.33 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/2.3, allocations: 1.172 MB / 1.331 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007169/2.301, allocations: 206.3 kB / 1.331 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/2.301, allocations: 103.4 kB / 1.331 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/2.301, allocations: 0 / 1.331 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.03154/2.333, allocations: 23.82 MB / 1.355 GB, free: 38.09 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