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 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.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/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_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 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 170.2 kB / 16.11 MB, free: 5.586 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.924/1.924, allocations: 205.4 MB / 222.3 MB, free: 13.61 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.0009655/0.000966, allocations: 90.25 kB / 270.6 MB, free: 13.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8466/0.8466, allocations: 89.59 MB / 408.5 MB, free: 15.77 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003794, allocations: 12 kB / 485.2 MB, free: 2.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1632, allocations: 66.01 MB / 0.5383 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.264, allocations: 357.7 MB / 0.8876 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/1.264, allocations: 91.8 kB / 0.8877 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.463/2.727, allocations: 388.6 MB / 1.267 GB, free: 82.36 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.787e-06/2.727, allocations: 1.219 kB / 1.267 GB, free: 82.36 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.000277/2.728, allocations: 62.8 kB / 1.267 GB, free: 82.35 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.008797/2.736, allocations: 2.579 MB / 1.27 GB, free: 81.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.187e-05/2.736, allocations: 10 kB / 1.27 GB, free: 81.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/2.738, allocations: 303.9 kB / 1.27 GB, free: 81.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/2.741, allocations: 1.113 MB / 1.271 GB, free: 80.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/2.741, allocations: 138.7 kB / 1.271 GB, free: 80.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006435/2.742, allocations: 190.6 kB / 1.271 GB, free: 80.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004875/2.747, allocations: 1.954 MB / 1.273 GB, free: 80.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-05/2.747, allocations: 192 / 1.273 GB, free: 80.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002793/2.747, allocations: 80.22 kB / 1.273 GB, free: 80.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.878e-05/2.747, allocations: 56.03 kB / 1.273 GB, free: 80.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004894/2.752, allocations: 2.302 MB / 1.276 GB, free: 80.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/2.765, allocations: 8.876 MB / 1.284 GB, free: 75.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/2.769, allocations: 2.265 MB / 1.287 GB, free: 75.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/2.77, allocations: 1.085 MB / 1.288 GB, free: 75.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0075/2.778, allocations: 5.845 MB / 1.293 GB, free: 71.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/2.779, allocations: 1.047 MB / 1.294 GB, free: 71.65 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=216): time 5.64e-06/2.779, allocations: 0 / 1.294 GB, free: 71.65 MB / 0.5886 GB Notification: Performance of matching and sorting (n=216): time 0.006112/2.786, allocations: 3.238 MB / 1.298 GB, free: 71.17 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/2.786, allocations: 75.59 kB / 1.298 GB, free: 71.11 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/Undirected/FlowControl/BasicControlValve.mo:26:3-27: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.3.1-main/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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.3.1-main/Undirected/FlowControl/BasicControlValve.mo:22:3-23: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.3.1-main/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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.3.1-main/Undirected/FlowControl/BasicControlValve.mo:22:3-23: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.3.1-main/Undirected/FlowControl/BasicControlValve.mo:26:3-27: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.3.1-main/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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.3.1-main/Undirected/FlowControl/BasicControlValve.mo:22:3-23: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.001709/2.787, allocations: 0.9492 MB / 1.299 GB, free: 70.95 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/2.788, allocations: 63.31 kB / 1.299 GB, free: 70.92 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006535/2.788, allocations: 0.7382 MB / 1.299 GB, free: 70.61 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006621/2.789, allocations: 0.7128 MB / 1.3 GB, free: 70.14 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/2.789, allocations: 33.91 kB / 1.3 GB, free: 70.14 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001182/2.789, allocations: 381.9 kB / 1.3 GB, free: 69.83 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/2.79, allocations: 0.7482 MB / 1.301 GB, free: 69.83 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/2.792, allocations: 0.9424 MB / 1.302 GB, free: 69.69 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/2.794, allocations: 1.828 MB / 1.304 GB, free: 69.51 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/2.794, allocations: 0 / 1.304 GB, free: 69.51 MB / 0.5886 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.004137/2.799, allocations: 2.312 MB / 1.306 GB, free: 69.28 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/2.799, allocations: 37.12 kB / 1.306 GB, free: 69.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/2.799, allocations: 1.188 kB / 1.306 GB, free: 69.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005388/2.799, allocations: 160.7 kB / 1.306 GB, free: 69.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/2.801, allocations: 400.5 kB / 1.307 GB, free: 69.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/2.804, allocations: 4.498 MB / 1.311 GB, free: 65.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/2.805, allocations: 199.5 kB / 1.311 GB, free: 65.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/2.805, allocations: 86.09 kB / 1.311 GB, free: 65.36 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.0008758/2.806, allocations: 350.1 kB / 1.312 GB, free: 65.24 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004267/2.807, allocations: 167.3 kB / 1.312 GB, free: 65.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005449/2.812, allocations: 2.935 MB / 1.315 GB, free: 64.96 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/2.812, allocations: 31.47 kB / 1.315 GB, free: 64.96 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/2.812, allocations: 3.516 kB / 1.315 GB, free: 64.96 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/2.812, allocations: 10.27 kB / 1.315 GB, free: 64.96 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008499/2.821, allocations: 4.865 MB / 1.319 GB, free: 64.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/2.821, allocations: 0 / 1.319 GB, free: 64.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/2.822, allocations: 419.5 kB / 1.32 GB, free: 64.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005098/2.823, allocations: 168.9 kB / 1.32 GB, free: 64.42 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/2.823, allocations: 71.31 kB / 1.32 GB, free: 64.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/2.826, allocations: 4.496 MB / 1.324 GB, free: 60.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.826, allocations: 3.906 kB / 1.325 GB, free: 60.64 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/2.832, allocations: 3.622 MB / 1.328 GB, free: 60.27 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/2.833, allocations: 0.4974 MB / 1.329 GB, free: 60.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/2.833, allocations: 40.75 kB / 1.329 GB, free: 60.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/2.835, allocations: 120.1 kB / 1.329 GB, free: 60.04 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/2.835, allocations: 182.6 kB / 1.329 GB, free: 60.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/2.835, allocations: 84.84 kB / 1.329 GB, free: 60.04 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000906/2.836, allocations: 0.6267 MB / 1.33 GB, free: 59.93 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/2.836, allocations: 0 / 1.33 GB, free: 59.93 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003341/2.839, allocations: 0.8961 MB / 1.33 GB, free: 59.81 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.002407/2.842, allocations: 1.305 MB / 1.332 GB, free: 59.43 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004092/2.846, allocations: 2.483 MB / 1.334 GB, free: 58.99 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/2.846, allocations: 6.688 kB / 1.334 GB, free: 58.99 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/2.848, allocations: 1.546 MB / 1.336 GB, free: 58.64 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/2.851, allocations: 0.571 MB / 1.336 GB, free: 58.62 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006575/2.858, allocations: 4.349 MB / 1.34 GB, free: 56.68 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009716/2.859, allocations: 1.391 MB / 1.342 GB, free: 55.95 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001833/2.861, allocations: 430.4 kB / 1.342 GB, free: 55.87 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/2.861, allocations: 207.7 kB / 1.342 GB, free: 55.87 MB / 0.5886 GB Notification: Performance of SimCode: time 6.92e-07/2.861, allocations: 1.719 kB / 1.342 GB, free: 55.87 MB / 0.5886 GB Notification: Performance of Templates: time 0.06123/2.923, allocations: 40.94 MB / 1.382 GB, free: 52.41 MB / 0.5886 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