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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000829/0.000829, allocations: 92.92 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.009839/0.009839, allocations: 1.552 MB / 338 MB, free: 8.465 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5547/0.5547, allocations: 90.04 MB / 479.4 MB, free: 2.961 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.988e-05/3.991e-05, allocations: 4 kB / 0.5445 GB, free: 7.957 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1719, allocations: 69.35 MB / 0.6122 GB, free: 2.516 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.381, allocations: 357.8 MB / 0.9616 GB, free: 59.11 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/1.381, allocations: 86.33 kB / 0.9617 GB, free: 59.07 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.719/3.1, allocations: 398.2 MB / 1.351 GB, free: 85.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/3.1, allocations: 3.938 kB / 1.351 GB, free: 85.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000263/3.1, allocations: 59.34 kB / 1.351 GB, free: 85.76 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.008781/3.109, allocations: 2.418 MB / 1.353 GB, free: 84.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/3.109, allocations: 13.47 kB / 1.353 GB, free: 84.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/3.111, allocations: 307.6 kB / 1.353 GB, free: 84.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003612/3.115, allocations: 1.065 MB / 1.354 GB, free: 84.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/3.115, allocations: 139.9 kB / 1.354 GB, free: 84.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008189/3.116, allocations: 193.3 kB / 1.355 GB, free: 84.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006078/3.122, allocations: 1.867 MB / 1.356 GB, free: 84.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.908e-05/3.122, allocations: 0 / 1.356 GB, free: 84.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000465/3.123, allocations: 74.72 kB / 1.357 GB, free: 84.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.572e-05/3.123, allocations: 49.44 kB / 1.357 GB, free: 84.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004669/3.128, allocations: 2.195 MB / 1.359 GB, free: 84.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/3.141, allocations: 9.013 MB / 1.368 GB, free: 79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/3.144, allocations: 2.189 MB / 1.37 GB, free: 78.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/3.146, allocations: 1.028 MB / 1.371 GB, free: 78.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009586/3.155, allocations: 6.118 MB / 1.377 GB, free: 75.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002026/3.157, allocations: 0.9944 MB / 1.378 GB, free: 75.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=216): time 5.951e-06/3.157, allocations: 2.281 kB / 1.378 GB, free: 75.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=216): time 0.004587/3.162, allocations: 2.014 MB / 1.38 GB, free: 75.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/3.162, allocations: 75.5 kB / 1.38 GB, free: 74.95 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.001809/3.164, allocations: 0.812 MB / 1.38 GB, free: 74.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/3.164, allocations: 61.23 kB / 1.381 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008277/3.165, allocations: 0.7339 MB / 1.381 GB, free: 74.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000711/3.166, allocations: 0.7183 MB / 1.382 GB, free: 73.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/3.166, allocations: 40.33 kB / 1.382 GB, free: 73.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001502/3.166, allocations: 375.9 kB / 1.382 GB, free: 73.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/3.167, allocations: 0.6942 MB / 1.383 GB, free: 73.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/3.169, allocations: 0.8863 MB / 1.384 GB, free: 73.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/3.17, allocations: 0.8231 MB / 1.385 GB, free: 73.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/3.17, allocations: 0 / 1.385 GB, free: 73.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.004263/3.174, allocations: 2.198 MB / 1.387 GB, free: 73.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/3.174, allocations: 32.42 kB / 1.387 GB, free: 73.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/3.174, allocations: 3 kB / 1.387 GB, free: 73.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/3.175, allocations: 158.8 kB / 1.387 GB, free: 73.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/3.176, allocations: 403.7 kB / 1.387 GB, free: 73.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/3.18, allocations: 4.486 MB / 1.392 GB, free: 69.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/3.182, allocations: 203.4 kB / 1.392 GB, free: 69.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/3.182, allocations: 86.59 kB / 1.392 GB, free: 69.34 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.0003878/3.183, allocations: 206.4 kB / 1.392 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/3.183, allocations: 165.6 kB / 1.392 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005764/3.189, allocations: 2.868 MB / 1.395 GB, free: 68.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/3.189, allocations: 28.66 kB / 1.395 GB, free: 68.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/3.189, allocations: 0 / 1.395 GB, free: 68.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/3.189, allocations: 13.97 kB / 1.395 GB, free: 68.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008374/3.197, allocations: 4.833 MB / 1.4 GB, free: 68.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/3.197, allocations: 0 / 1.4 GB, free: 68.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/3.199, allocations: 413.4 kB / 1.4 GB, free: 68.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005414/3.199, allocations: 171.6 kB / 1.401 GB, free: 68.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/3.199, allocations: 71.69 kB / 1.401 GB, free: 68.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003131/3.203, allocations: 4.488 MB / 1.405 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/3.203, allocations: 7.656 kB / 1.405 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005806/3.208, allocations: 3.483 MB / 1.408 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/3.21, allocations: 0.5443 MB / 1.409 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/3.21, allocations: 45.66 kB / 1.409 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/3.211, allocations: 122 kB / 1.409 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004229/3.211, allocations: 184.2 kB / 1.409 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/3.212, allocations: 87.22 kB / 1.409 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009726/3.213, allocations: 0.6138 MB / 1.41 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/3.213, allocations: 0 / 1.41 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003412/3.216, allocations: 0.8964 MB / 1.411 GB, free: 63.71 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 (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.002357/3.218, allocations: 1.294 MB / 1.412 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004236/3.223, allocations: 2.37 MB / 1.414 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/3.223, allocations: 0 / 1.414 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002008/3.225, allocations: 1.495 MB / 1.416 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/3.228, allocations: 0.5221 MB / 1.416 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005443/3.233, allocations: 2.747 MB / 1.419 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008344/3.234, allocations: 1.43 MB / 1.42 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001989/3.236, allocations: 436.2 kB / 1.421 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/3.237, allocations: 200.6 kB / 1.421 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of SimCode: time 2.114e-06/3.237, allocations: 0 / 1.421 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.07375/3.31, allocations: 41.64 MB / 1.462 GB, free: 55.99 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