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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01043/0.01043, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.001105/0.001104, allocations: 86.88 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9328/0.9328, allocations: 90.59 MB / 408.4 MB, free: 14.97 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003813, allocations: 12 kB / 485.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4581, allocations: 66.27 MB / 0.5386 GB, free: 45.49 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7243/1.182, allocations: 357.8 MB / 0.888 GB, free: 53.38 MB / 0.5574 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/1.183, allocations: 90.11 kB / 0.8881 GB, free: 53.33 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 1.438/2.621, allocations: 391.2 MB / 1.27 GB, free: 81.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.026e-06/2.621, allocations: 3.938 kB / 1.27 GB, free: 81.63 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001946/2.622, allocations: 56.58 kB / 1.27 GB, free: 81.62 MB / 0.5886 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.007969/2.63, allocations: 2.615 MB / 1.273 GB, free: 80.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/2.63, allocations: 9.062 kB / 1.273 GB, free: 80.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/2.631, allocations: 295.1 kB / 1.273 GB, free: 80.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/2.633, allocations: 1.066 MB / 1.274 GB, free: 79.99 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/2.633, allocations: 141.6 kB / 1.274 GB, free: 79.99 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/2.634, allocations: 193.5 kB / 1.274 GB, free: 79.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003926/2.638, allocations: 1.946 MB / 1.276 GB, free: 79.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/2.638, allocations: 0 / 1.276 GB, free: 79.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/2.638, allocations: 78.61 kB / 1.276 GB, free: 79.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/2.638, allocations: 49.31 kB / 1.276 GB, free: 79.89 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003313/2.641, allocations: 2.301 MB / 1.279 GB, free: 79.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009636/2.651, allocations: 9.013 MB / 1.287 GB, free: 74.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/2.654, allocations: 2.275 MB / 1.29 GB, free: 74.72 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007153/2.661, allocations: 5.959 MB / 1.295 GB, free: 71.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/2.663, allocations: 1.039 MB / 1.296 GB, free: 71 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=216): time 4.379e-06/2.663, allocations: 3.938 kB / 1.296 GB, free: 71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=216): time 0.005786/2.668, allocations: 3.723 MB / 1.3 GB, free: 69.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/2.668, allocations: 75.25 kB / 1.3 GB, free: 69.86 MB / 0.5886 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.001096/2.67, allocations: 0.819 MB / 1.301 GB, free: 69.72 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/2.67, allocations: 60.33 kB / 1.301 GB, free: 69.69 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/2.67, allocations: 0.7452 MB / 1.302 GB, free: 69.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004964/2.671, allocations: 0.7122 MB / 1.302 GB, free: 68.91 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/2.671, allocations: 37.81 kB / 1.303 GB, free: 68.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001161/2.671, allocations: 375 kB / 1.303 GB, free: 68.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/2.672, allocations: 0.7438 MB / 1.304 GB, free: 68.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/2.673, allocations: 0.9377 MB / 1.305 GB, free: 68.46 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/2.675, allocations: 0.8694 MB / 1.305 GB, free: 68.41 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/2.675, allocations: 3.75 kB / 1.305 GB, free: 68.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.003973/2.679, allocations: 2.299 MB / 1.308 GB, free: 68.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/2.679, allocations: 36.05 kB / 1.308 GB, free: 68.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/2.679, allocations: 2.781 kB / 1.308 GB, free: 68.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005327/2.679, allocations: 160.6 kB / 1.308 GB, free: 68.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/2.681, allocations: 401.7 kB / 1.308 GB, free: 68.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/2.684, allocations: 4.544 MB / 1.313 GB, free: 64.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/2.686, allocations: 208.7 kB / 1.313 GB, free: 64.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/2.686, allocations: 79.5 kB / 1.313 GB, free: 64.27 MB / 0.5886 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 () * Number of clocked 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.0008725/2.687, allocations: 351.2 kB / 1.313 GB, free: 64.15 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/2.687, allocations: 169.4 kB / 1.313 GB, free: 64.06 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005561/2.693, allocations: 2.976 MB / 1.316 GB, free: 63.81 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/2.693, allocations: 26.56 kB / 1.316 GB, free: 63.81 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/2.693, allocations: 3.875 kB / 1.316 GB, free: 63.81 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/2.693, allocations: 10.83 kB / 1.316 GB, free: 63.81 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009834/2.703, allocations: 4.94 MB / 1.321 GB, free: 63.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/2.703, allocations: 5.875 kB / 1.321 GB, free: 63.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/2.704, allocations: 409.1 kB / 1.322 GB, free: 63.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005137/2.705, allocations: 163.7 kB / 1.322 GB, free: 63.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/2.705, allocations: 78.08 kB / 1.322 GB, free: 63.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003493/2.708, allocations: 4.544 MB / 1.326 GB, free: 59.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/2.708, allocations: 3.125 kB / 1.326 GB, free: 59.48 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006067/2.714, allocations: 3.645 MB / 1.33 GB, free: 59.08 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/2.716, allocations: 0.535 MB / 1.33 GB, free: 58.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/2.716, allocations: 44.8 kB / 1.33 GB, free: 58.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/2.717, allocations: 125.3 kB / 1.33 GB, free: 58.84 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/2.717, allocations: 177.9 kB / 1.331 GB, free: 58.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/2.717, allocations: 84.23 kB / 1.331 GB, free: 58.84 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0008448/2.718, allocations: 0.6296 MB / 1.331 GB, free: 58.73 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/2.718, allocations: 2.688 kB / 1.331 GB, free: 58.73 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002963/2.721, allocations: 0.8938 MB / 1.332 GB, free: 58.61 MB / 0.5886 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (235): * Single equations (assignments): 224 * 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.002181/2.723, allocations: 1.296 MB / 1.333 GB, free: 58.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004504/2.728, allocations: 2.49 MB / 1.336 GB, free: 57.76 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/2.728, allocations: 0 / 1.336 GB, free: 57.76 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002204/2.73, allocations: 1.549 MB / 1.337 GB, free: 57.42 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/2.733, allocations: 0.5299 MB / 1.338 GB, free: 57.38 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006487/2.74, allocations: 4.347 MB / 1.342 GB, free: 55.03 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008362/2.741, allocations: 1.428 MB / 1.344 GB, free: 54.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001848/2.742, allocations: 420.7 kB / 1.344 GB, free: 54.19 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/2.743, allocations: 205.8 kB / 1.344 GB, free: 54.16 MB / 0.5886 GB Notification: Performance of SimCode: time 1.704e-06/2.743, allocations: 0 / 1.344 GB, free: 54.16 MB / 0.5886 GB Notification: Performance of Templates: time 0.05836/2.801, allocations: 40.36 MB / 1.384 GB, free: 50.27 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