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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002219/0.002219, allocations: 173.7 kB / 7.458 MB, free: 2.488 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.074/1.074, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.0008685/0.0008685, allocations: 106.3 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.007309/0.007308, allocations: 1.575 MB / 332.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.4151/0.4151, allocations: 90.05 MB / 473.7 MB, free: 7.301 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 7.313e-06/7.344e-06, allocations: 4 kB / 0.5369 GB, free: 14.36 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1196, allocations: 69.36 MB / 0.6046 GB, free: 8.895 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6324/0.752, allocations: 353.4 MB / 0.9497 GB, free: 77.28 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.7522, allocations: 78.39 kB / 0.9498 GB, free: 77.24 MB / 0.573 GB Notification: Performance of FrontEnd: time 0.7431/1.495, allocations: 348.2 MB / 1.29 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.96e-05/1.495, allocations: 47.91 kB / 1.29 GB, free: 14.23 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.003353/1.499, allocations: 1.796 MB / 1.292 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/1.499, allocations: 8.031 kB / 1.292 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/1.499, allocations: 165.9 kB / 1.292 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/1.5, allocations: 0.7891 MB / 1.293 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/1.5, allocations: 40 kB / 1.293 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/1.5, allocations: 76 kB / 1.293 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001381/1.502, allocations: 1.067 MB / 1.294 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/1.503, allocations: 0.905 MB / 1.295 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/1.503, allocations: 0 / 1.295 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/1.503, allocations: 0 / 1.295 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/1.503, allocations: 28 kB / 1.295 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/1.508, allocations: 4.749 MB / 1.299 GB, free: 3.996 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/1.508, allocations: 0.5038 MB / 1.3 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/1.509, allocations: 0.4906 MB / 1.3 GB, free: 2.988 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1635/1.672, allocations: 3.799 MB / 1.304 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/1.672, allocations: 44.97 kB / 1.304 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=115): time 3.105e-06/1.672, allocations: 0 / 1.304 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=115): time 0.002364/1.675, allocations: 1.091 MB / 1.305 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/1.675, allocations: 63.09 kB / 1.305 GB, free: 150.7 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.0005933/1.675, allocations: 0.6037 MB / 1.306 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/1.675, allocations: 32.33 kB / 1.306 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/1.675, allocations: 405.1 kB / 1.306 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/1.676, allocations: 377.6 kB / 1.306 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/1.676, allocations: 0 / 1.306 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.132e-05/1.676, allocations: 344.9 kB / 1.307 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/1.676, allocations: 348.9 kB / 1.307 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/1.677, allocations: 432.7 kB / 1.308 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/1.678, allocations: 394.5 kB / 1.308 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.678, allocations: 6.594 kB / 1.308 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002173/1.68, allocations: 1.145 MB / 1.309 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/1.68, allocations: 3 kB / 1.309 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.68, allocations: 6.719 kB / 1.309 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/1.68, allocations: 146.1 kB / 1.309 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006868/1.681, allocations: 195.8 kB / 1.309 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/1.683, allocations: 4.223 MB / 1.314 GB, free: 146 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/1.684, allocations: 79.42 kB / 1.314 GB, free: 146 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/1.684, allocations: 41.34 kB / 1.314 GB, free: 146 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.0001286/1.684, allocations: 119 kB / 1.314 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/1.684, allocations: 115 kB / 1.314 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/1.687, allocations: 1.449 MB / 1.315 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/1.687, allocations: 11.44 kB / 1.315 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.687, allocations: 7.812 kB / 1.315 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.687, allocations: 7.688 kB / 1.315 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/1.691, allocations: 2.58 MB / 1.318 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.691, allocations: 8.312 kB / 1.318 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/1.692, allocations: 193.9 kB / 1.318 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003783/1.692, allocations: 155.7 kB / 1.318 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/1.692, allocations: 25.86 kB / 1.318 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/1.694, allocations: 4.228 MB / 1.322 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.694, allocations: 3.422 kB / 1.322 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002817/1.697, allocations: 1.879 MB / 1.324 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/1.698, allocations: 320.3 kB / 1.324 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/1.698, allocations: 6.938 kB / 1.324 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/1.698, allocations: 42.36 kB / 1.325 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.698, allocations: 81.84 kB / 1.325 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/1.699, allocations: 46.14 kB / 1.325 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003992/1.699, allocations: 457.9 kB / 1.325 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001243/1.7, allocations: 0.6346 MB / 1.326 GB, free: 141.1 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 (113): * Single equations (assignments): 107 * 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.001259/1.701, allocations: 1.225 MB / 1.327 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001479/1.703, allocations: 1.366 MB / 1.328 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.703, allocations: 4 kB / 1.328 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00094/1.704, allocations: 0.9669 MB / 1.329 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/1.705, allocations: 333.1 kB / 1.329 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/1.708, allocations: 1.688 MB / 1.331 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006798/1.708, allocations: 1.304 MB / 1.332 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/1.708, allocations: 0 / 1.332 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.03123/1.74, allocations: 26.61 MB / 1.358 GB, free: 138.1 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