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.001533/0.001533, allocations: 174.1 kB / 12.73 MB, free: 2.59 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.471/1.471, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008833/0.0008834, allocations: 83.16 kB / 266.6 MB, free: 9.285 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.7637/0.7637, allocations: 90.34 MB / 405 MB, free: 8.66 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.168e-05, allocations: 0 / 479.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3715, allocations: 66.26 MB / 0.5326 GB, free: 28.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6604/1.032, allocations: 357.7 MB / 0.882 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.032, allocations: 79.52 kB / 0.882 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.402/2.435, allocations: 389.7 MB / 1.263 GB, free: 97.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.747e-06/2.435, allocations: 0 / 1.263 GB, free: 97.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002852/2.435, allocations: 63.33 kB / 1.263 GB, free: 97.63 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.009935/2.445, allocations: 2.426 MB / 1.265 GB, free: 96.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/2.445, allocations: 10.69 kB / 1.265 GB, free: 96.44 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/2.447, allocations: 294.8 kB / 1.265 GB, free: 96.32 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003914/2.451, allocations: 1.067 MB / 1.266 GB, free: 95.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/2.451, allocations: 139.3 kB / 1.266 GB, free: 95.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008157/2.452, allocations: 191.1 kB / 1.267 GB, free: 95.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005547/2.458, allocations: 1.866 MB / 1.268 GB, free: 95.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.377e-05/2.458, allocations: 0 / 1.268 GB, free: 95.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/2.458, allocations: 83.98 kB / 1.269 GB, free: 95.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.466e-05/2.458, allocations: 54.42 kB / 1.269 GB, free: 95.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/2.462, allocations: 2.188 MB / 1.271 GB, free: 95.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/2.473, allocations: 9.008 MB / 1.28 GB, free: 89.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/2.476, allocations: 2.193 MB / 1.282 GB, free: 88.92 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/2.477, allocations: 1.026 MB / 1.283 GB, free: 88.47 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007084/2.484, allocations: 6.129 MB / 1.289 GB, free: 83.63 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/2.486, allocations: 0.9899 MB / 1.29 GB, free: 83.22 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=216): time 4.879e-06/2.486, allocations: 3.719 kB / 1.29 GB, free: 83.22 MB / 0.5886 GB Notification: Performance of matching and sorting (n=216): time 0.003366/2.489, allocations: 2.017 MB / 1.292 GB, free: 82.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/2.489, allocations: 75.88 kB / 1.292 GB, free: 82.35 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.00103/2.49, allocations: 0.8177 MB / 1.292 GB, free: 82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/2.49, allocations: 61.45 kB / 1.293 GB, free: 81.94 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/2.491, allocations: 0.7322 MB / 1.293 GB, free: 81.37 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004657/2.491, allocations: 0.7192 MB / 1.294 GB, free: 80.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-05/2.491, allocations: 34.34 kB / 1.294 GB, free: 80.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001122/2.491, allocations: 377.2 kB / 1.294 GB, free: 80.44 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009974/2.492, allocations: 0.6955 MB / 1.295 GB, free: 80.14 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/2.494, allocations: 0.8827 MB / 1.296 GB, free: 79.69 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/2.495, allocations: 0.8215 MB / 1.297 GB, free: 79.33 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/2.495, allocations: 0 / 1.297 GB, free: 79.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.003845/2.499, allocations: 2.204 MB / 1.299 GB, free: 78.41 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/2.499, allocations: 34.14 kB / 1.299 GB, free: 78.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/2.499, allocations: 3.094 kB / 1.299 GB, free: 78.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007722/2.499, allocations: 160 kB / 1.299 GB, free: 78.33 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/2.502, allocations: 396.7 kB / 1.299 GB, free: 78.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/2.505, allocations: 4.486 MB / 1.304 GB, free: 74.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/2.507, allocations: 205.5 kB / 1.304 GB, free: 73.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/2.507, allocations: 84.11 kB / 1.304 GB, free: 73.93 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 () * 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.0003569/2.507, allocations: 205.7 kB / 1.304 GB, free: 73.73 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/2.508, allocations: 170.6 kB / 1.304 GB, free: 73.65 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005019/2.513, allocations: 2.871 MB / 1.307 GB, free: 72.48 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/2.513, allocations: 22.94 kB / 1.307 GB, free: 72.48 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/2.513, allocations: 3.719 kB / 1.307 GB, free: 72.48 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/2.513, allocations: 15.02 kB / 1.307 GB, free: 72.48 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007132/2.52, allocations: 4.835 MB / 1.312 GB, free: 70.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/2.52, allocations: 3.156 kB / 1.312 GB, free: 70.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/2.521, allocations: 412.6 kB / 1.312 GB, free: 70.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005279/2.522, allocations: 158.1 kB / 1.313 GB, free: 69.96 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/2.522, allocations: 72.16 kB / 1.313 GB, free: 69.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003182/2.525, allocations: 4.489 MB / 1.317 GB, free: 65.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.525, allocations: 3.984 kB / 1.317 GB, free: 65.53 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005228/2.53, allocations: 3.491 MB / 1.32 GB, free: 63.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009803/2.531, allocations: 0.5351 MB / 1.321 GB, free: 63.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/2.532, allocations: 46.7 kB / 1.321 GB, free: 63.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/2.533, allocations: 129.1 kB / 1.321 GB, free: 63.13 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/2.533, allocations: 175.4 kB / 1.321 GB, free: 63.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/2.533, allocations: 86.28 kB / 1.321 GB, free: 63 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007127/2.534, allocations: 0.6147 MB / 1.322 GB, free: 62.69 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.534, allocations: 2.656 kB / 1.322 GB, free: 62.69 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002388/2.536, allocations: 0.895 MB / 1.323 GB, free: 62.14 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) * 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.001625/2.538, allocations: 1.292 MB / 1.324 GB, free: 61.08 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003192/2.541, allocations: 2.382 MB / 1.326 GB, free: 58.65 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/2.541, allocations: 4 kB / 1.326 GB, free: 58.64 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/2.543, allocations: 1.487 MB / 1.328 GB, free: 57.13 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/2.545, allocations: 0.5399 MB / 1.328 GB, free: 56.62 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/2.551, allocations: 2.749 MB / 1.331 GB, free: 53.96 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/2.552, allocations: 1.426 MB / 1.332 GB, free: 52.52 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001803/2.554, allocations: 434 kB / 1.333 GB, free: 52.15 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/2.554, allocations: 203.3 kB / 1.333 GB, free: 51.95 MB / 0.5886 GB Notification: Performance of SimCode: time 1.523e-06/2.554, allocations: 3.938 kB / 1.333 GB, free: 51.95 MB / 0.5886 GB Notification: Performance of Templates: time 0.05764/2.612, allocations: 41.64 MB / 1.374 GB, free: 11.36 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