Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-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.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_OM_adaptions_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_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.002102/0.002101, allocations: 180.5 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.031/1.031, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0008335/0.0008335, allocations: 100.2 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5166/0.5166, allocations: 90.35 MB / 399.4 MB, free: 12.28 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.412e-06, allocations: 4 kB / 471.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2441, allocations: 66.25 MB / 0.5253 GB, free: 28.85 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.6963, allocations: 357 MB / 0.8739 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.6965, allocations: 85.75 kB / 0.874 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.041/1.737, allocations: 390.1 MB / 1.255 GB, free: 85.03 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001037/1.737, allocations: 58.31 kB / 1.255 GB, free: 85.02 MB / 0.573 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.005108/1.743, allocations: 2.464 MB / 1.257 GB, free: 83.3 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.743, allocations: 10.06 kB / 1.257 GB, free: 83.3 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/1.743, allocations: 249 kB / 1.258 GB, free: 83.18 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/1.745, allocations: 1.071 MB / 1.259 GB, free: 82.36 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/1.745, allocations: 60.88 kB / 1.259 GB, free: 82.36 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/1.745, allocations: 120.9 kB / 1.259 GB, free: 82.35 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002692/1.748, allocations: 2.124 MB / 1.261 GB, free: 81.35 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/1.75, allocations: 1.656 MB / 1.263 GB, free: 80.48 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/1.75, allocations: 0 / 1.263 GB, free: 80.48 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/1.75, allocations: 3.938 kB / 1.263 GB, free: 80.48 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/1.75, allocations: 49.31 kB / 1.263 GB, free: 80.48 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00733/1.757, allocations: 8.804 MB / 1.271 GB, free: 72.44 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/1.759, allocations: 1.772 MB / 1.273 GB, free: 71.69 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/1.761, allocations: 0.9723 MB / 1.274 GB, free: 71.22 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006003/1.767, allocations: 6.147 MB / 1.28 GB, free: 65.09 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/1.768, allocations: 0.9566 MB / 1.281 GB, free: 64.12 MB / 0.573 GB Notification: Performance of pre-optimization done (n=216): time 3.246e-06/1.768, allocations: 4 kB / 1.281 GB, free: 64.12 MB / 0.573 GB Notification: Performance of matching and sorting (n=216): time 0.006698/1.774, allocations: 2.521 MB / 1.283 GB, free: 61.59 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/1.774, allocations: 79.95 kB / 1.283 GB, free: 61.51 MB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:28:3-29: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.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27: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.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27: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.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:28:3-29: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.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27: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.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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.0008124/1.775, allocations: 0.7138 MB / 1.284 GB, free: 60.78 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-05/1.775, allocations: 29.7 kB / 1.284 GB, free: 60.75 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/1.776, allocations: 0.5441 MB / 1.285 GB, free: 60.19 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/1.776, allocations: 0.6848 MB / 1.285 GB, free: 59.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/1.776, allocations: 0 / 1.285 GB, free: 59.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/1.776, allocations: 377.8 kB / 1.286 GB, free: 59.12 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008851/1.777, allocations: 0.6794 MB / 1.286 GB, free: 58.45 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009986/1.778, allocations: 0.8541 MB / 1.287 GB, free: 57.55 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004955/1.783, allocations: 1.351 MB / 1.289 GB, free: 56.21 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/1.783, allocations: 0 / 1.289 GB, free: 56.21 MB / 0.573 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.007265/1.79, allocations: 2.654 MB / 1.291 GB, free: 53.55 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.79, allocations: 10.91 kB / 1.291 GB, free: 53.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.79, allocations: 4 kB / 1.291 GB, free: 53.54 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/1.791, allocations: 158.7 kB / 1.291 GB, free: 53.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.792, allocations: 410.9 kB / 1.292 GB, free: 52.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/1.795, allocations: 4.255 MB / 1.296 GB, free: 48.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.797, allocations: 157.1 kB / 1.296 GB, free: 48.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/1.797, allocations: 95.91 kB / 1.296 GB, free: 48.17 MB / 0.573 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.0002603/1.797, allocations: 141.2 kB / 1.296 GB, free: 48.03 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/1.797, allocations: 158 kB / 1.296 GB, free: 47.88 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008041/1.805, allocations: 3.462 MB / 1.3 GB, free: 44.41 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/1.805, allocations: 31.98 kB / 1.3 GB, free: 44.38 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/1.805, allocations: 4 kB / 1.3 GB, free: 44.37 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/1.805, allocations: 11.95 kB / 1.3 GB, free: 44.36 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009659/1.815, allocations: 5.153 MB / 1.305 GB, free: 39.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.815, allocations: 0 / 1.305 GB, free: 39.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.816, allocations: 434.2 kB / 1.305 GB, free: 38.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004905/1.817, allocations: 164.5 kB / 1.305 GB, free: 38.59 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/1.817, allocations: 63.92 kB / 1.305 GB, free: 38.53 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/1.82, allocations: 4.256 MB / 1.31 GB, free: 33.96 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.82, allocations: 3.984 kB / 1.31 GB, free: 33.95 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007316/1.827, allocations: 3.9 MB / 1.313 GB, free: 29.95 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008902/1.828, allocations: 0.5411 MB / 1.314 GB, free: 29.39 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/1.828, allocations: 7.938 kB / 1.314 GB, free: 29.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009514/1.829, allocations: 81.75 kB / 1.314 GB, free: 29.31 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/1.83, allocations: 161.7 kB / 1.314 GB, free: 29.15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.83, allocations: 95.92 kB / 1.314 GB, free: 29.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0005886/1.83, allocations: 0.5397 MB / 1.315 GB, free: 28.51 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002137/1.832, allocations: 0.8887 MB / 1.316 GB, free: 27.62 MB / 0.573 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.001606/1.834, allocations: 1.338 MB / 1.317 GB, free: 26.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002923/1.837, allocations: 2.269 MB / 1.319 GB, free: 24.17 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.837, allocations: 0 / 1.319 GB, free: 24.17 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/1.839, allocations: 1.472 MB / 1.321 GB, free: 22.68 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.841, allocations: 472 kB / 1.321 GB, free: 22.24 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/1.846, allocations: 2.705 MB / 1.324 GB, free: 19.59 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.847, allocations: 1.68 MB / 1.325 GB, free: 17.9 MB / 0.573 GB Notification: Performance of SimCode: time 5.21e-07/1.847, allocations: 2.719 kB / 1.325 GB, free: 17.9 MB / 0.573 GB Notification: Performance of Templates: time 0.284/2.131, allocations: 40.47 MB / 1.365 GB, free: 141.5 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches