Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.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.003498/0.003498, allocations: 177.2 kB / 7.461 MB, free: 2.484 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.531/1.531, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.0009833/0.0009831, allocations: 88.67 kB / 280.1 MB, free: 1.242 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.0127/0.0127, allocations: 1.566 MB / 332.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7382/0.7382, allocations: 90.05 MB / 473.6 MB, free: 7.262 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.217e-05/1.249e-05, allocations: 4 kB / 0.5369 GB, free: 14.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1919, allocations: 69.35 MB / 0.6046 GB, free: 8.852 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.416/1.608, allocations: 357 MB / 0.9533 GB, free: 73.71 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005108/1.609, allocations: 80.95 kB / 0.9534 GB, free: 73.68 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.738/3.347, allocations: 398.7 MB / 1.343 GB, free: 86.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001651/3.347, allocations: 60.14 kB / 1.343 GB, free: 86.25 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: 485 * Number of variables: 485 Notification: Performance of Generate backend data structure: time 0.007013/3.354, allocations: 2.455 MB / 1.345 GB, free: 85.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/3.354, allocations: 9.594 kB / 1.345 GB, free: 85.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009343/3.355, allocations: 247.4 kB / 1.345 GB, free: 85.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/3.358, allocations: 1.08 MB / 1.346 GB, free: 84.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/3.358, allocations: 65.47 kB / 1.347 GB, free: 84.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/3.358, allocations: 113.2 kB / 1.347 GB, free: 84.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003576/3.362, allocations: 2.127 MB / 1.349 GB, free: 84.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/3.365, allocations: 1.655 MB / 1.35 GB, free: 84.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/3.365, allocations: 0 / 1.35 GB, free: 84.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/3.365, allocations: 7.656 kB / 1.35 GB, free: 84.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/3.365, allocations: 50.77 kB / 1.35 GB, free: 84.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/3.377, allocations: 8.806 MB / 1.359 GB, free: 79.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/3.379, allocations: 1.771 MB / 1.361 GB, free: 79.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/3.381, allocations: 0.9746 MB / 1.362 GB, free: 79.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008444/3.389, allocations: 6.146 MB / 1.368 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/3.391, allocations: 0.9554 MB / 1.369 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=216): time 4.308e-06/3.391, allocations: 2.812 kB / 1.369 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=216): time 0.008083/3.399, allocations: 2.521 MB / 1.371 GB, free: 75.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/3.399, allocations: 77.41 kB / 1.371 GB, free: 75.62 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/Undirected/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/Undirected/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/Undirected/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/Undirected/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/Undirected/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/Undirected/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/Undirected/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/Undirected/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.001194/3.4, allocations: 0.7237 MB / 1.372 GB, free: 75.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/3.4, allocations: 25.7 kB / 1.372 GB, free: 75.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/3.401, allocations: 0.542 MB / 1.372 GB, free: 75.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005546/3.401, allocations: 0.6874 MB / 1.373 GB, free: 74.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/3.401, allocations: 3.609 kB / 1.373 GB, free: 74.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001161/3.402, allocations: 379.7 kB / 1.373 GB, free: 74.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/3.403, allocations: 0.6757 MB / 1.374 GB, free: 74.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/3.404, allocations: 0.8571 MB / 1.375 GB, free: 74.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005484/3.409, allocations: 1.341 MB / 1.376 GB, free: 74.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/3.409, allocations: 0 / 1.376 GB, free: 74.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.008559/3.418, allocations: 2.652 MB / 1.379 GB, free: 74.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/3.418, allocations: 7.812 kB / 1.379 GB, free: 74.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/3.418, allocations: 6.406 kB / 1.379 GB, free: 74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/3.419, allocations: 155.5 kB / 1.379 GB, free: 73.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/3.42, allocations: 411.5 kB / 1.379 GB, free: 73.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/3.423, allocations: 4.254 MB / 1.384 GB, free: 70.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/3.426, allocations: 164.8 kB / 1.384 GB, free: 70.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/3.426, allocations: 90.19 kB / 1.384 GB, free: 70.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 6 * 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.0004234/3.426, allocations: 138.8 kB / 1.384 GB, free: 70.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/3.427, allocations: 159.7 kB / 1.384 GB, free: 70.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/3.438, allocations: 3.458 MB / 1.387 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.737e-05/3.438, allocations: 31.02 kB / 1.387 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-05/3.438, allocations: 3.781 kB / 1.387 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.751e-05/3.438, allocations: 16.31 kB / 1.387 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/3.452, allocations: 5.145 MB / 1.392 GB, free: 69.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/3.453, allocations: 2.469 kB / 1.392 GB, free: 69.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/3.454, allocations: 439.2 kB / 1.393 GB, free: 69.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006235/3.455, allocations: 163.3 kB / 1.393 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002928/3.455, allocations: 57.47 kB / 1.393 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004048/3.459, allocations: 4.261 MB / 1.397 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/3.459, allocations: 1.969 kB / 1.397 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01285/3.472, allocations: 3.901 MB / 1.401 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002384/3.475, allocations: 0.5452 MB / 1.402 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009224/3.476, allocations: 6.312 kB / 1.402 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/3.478, allocations: 81.34 kB / 1.402 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004871/3.478, allocations: 171.4 kB / 1.402 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004964/3.479, allocations: 89.47 kB / 1.402 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001699/3.481, allocations: 0.5289 MB / 1.402 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00563/3.486, allocations: 0.8935 MB / 1.403 GB, free: 64.67 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valveLinear.rear.m_flow,valveParabolic.rear.m_flow,valveEqualPercentage.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (247): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.003373/3.49, allocations: 1.352 MB / 1.405 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005291/3.495, allocations: 2.263 MB / 1.407 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/3.495, allocations: 0 / 1.407 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002696/3.498, allocations: 1.469 MB / 1.408 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/3.501, allocations: 484.7 kB / 1.409 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008613/3.51, allocations: 2.715 MB / 1.411 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002357/3.512, allocations: 1.677 MB / 1.413 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of SimCode: time 1.904e-06/3.512, allocations: 0 / 1.413 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.07949/3.592, allocations: 40.48 MB / 1.453 GB, free: 59.5 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches