Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.conf.json 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/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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001972, allocations: 198.1 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7876/0.7876, allocations: 93.71 MB / 383.7 MB, free: 7.18 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 81.45 kB / 462.7 MB, free: 22.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1152, allocations: 68.27 MB / 0.5185 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.05189/0.1671, allocations: 54.46 MB / 0.5717 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.291/0.4582, allocations: 21.78 MB / 0.593 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003336/0.4616, allocations: 86.78 kB / 0.5931 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.4643, allocations: 0.7844 MB / 0.5938 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005859/0.4702, allocations: 1.54 MB / 0.5954 GB, free: 5.695 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00402/0.4743, allocations: 1.2 MB / 0.5965 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004942/0.4792, allocations: 2.976 MB / 0.5994 GB, free: 5.648 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.4803, allocations: 463.7 kB / 0.5999 GB, free: 5.535 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/0.4833, allocations: 0.9755 MB / 0.6008 GB, free: 5.469 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.4852, allocations: 0.9235 MB / 0.6017 GB, free: 5.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.4855, allocations: 85.5 kB / 0.6018 GB, free: 5.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004664/0.4901, allocations: 1.188 MB / 0.603 GB, free: 5.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004108/0.4906, allocations: 306.3 kB / 0.6033 GB, free: 5.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.492, allocations: 0.8708 MB / 0.6041 GB, free: 4.793 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005983/0.498, allocations: 2.483 MB / 0.6065 GB, free: 4.348 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.498, allocations: 0 / 0.6065 GB, free: 4.348 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.498, allocations: 2.531 kB / 0.6065 GB, free: 4.348 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.821e-05/0.4981, allocations: 3.938 kB / 0.6065 GB, free: 4.344 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.005033/0.5031, allocations: 2.351 MB / 0.6088 GB, free: 19.15 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.5032, allocations: 10.17 kB / 0.6088 GB, free: 19.15 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003894/0.5036, allocations: 218.1 kB / 0.6091 GB, free: 19.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.5054, allocations: 1.179 MB / 0.6102 GB, free: 18.58 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.5055, allocations: 83 kB / 0.6103 GB, free: 18.58 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.5056, allocations: 118.5 kB / 0.6104 GB, free: 18.58 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.5077, allocations: 1.205 MB / 0.6116 GB, free: 18.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.5078, allocations: 7.922 kB / 0.6116 GB, free: 18.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.025e-05/0.5079, allocations: 47.5 kB / 0.6116 GB, free: 18.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.5079, allocations: 28.94 kB / 0.6117 GB, free: 18.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.5097, allocations: 1.136 MB / 0.6128 GB, free: 18.43 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006687/0.5164, allocations: 5.024 MB / 0.6177 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.518, allocations: 0.9081 MB / 0.6186 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007174/0.5187, allocations: 481.4 kB / 0.619 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005604/0.5243, allocations: 5.154 MB / 0.6241 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.5244, allocations: 45.16 kB / 0.6241 GB, free: 11.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 2.796e-06/0.5244, allocations: 1.219 kB / 0.6241 GB, free: 11.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.003628/0.5281, allocations: 1.719 MB / 0.6258 GB, free: 10.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.5281, allocations: 61.94 kB / 0.6258 GB, free: 10.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.5298, allocations: 1.278 MB / 0.6271 GB, free: 10.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.5299, allocations: 43.77 kB / 0.6271 GB, free: 10.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004793/0.5304, allocations: 0.7639 MB / 0.6279 GB, free: 10.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.5306, allocations: 351.8 kB / 0.6282 GB, free: 9.949 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.5309, allocations: 175.2 kB / 0.6284 GB, free: 9.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.531, allocations: 340.6 kB / 0.6287 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/0.5316, allocations: 298.3 kB / 0.629 GB, free: 9.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/0.5324, allocations: 441.5 kB / 0.6294 GB, free: 9.512 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.5337, allocations: 0.7657 MB / 0.6301 GB, free: 9.238 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.5337, allocations: 0.9062 kB / 0.6302 GB, free: 9.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002131/0.5358, allocations: 1.145 MB / 0.6313 GB, free: 8.758 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5359, allocations: 9.719 kB / 0.6313 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.5359, allocations: 6.25 kB / 0.6313 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005677/0.5365, allocations: 169.5 kB / 0.6314 GB, free: 8.688 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/0.5372, allocations: 194.3 kB / 0.6316 GB, free: 8.676 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003586/0.5407, allocations: 4.469 MB / 0.636 GB, free: 4.445 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009572/0.5417, allocations: 107.6 kB / 0.6361 GB, free: 4.379 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.5418, allocations: 43.11 kB / 0.6361 GB, free: 4.371 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005747/0.5424, allocations: 271.7 kB / 0.6364 GB, free: 4.168 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.5427, allocations: 164 kB / 0.6366 GB, free: 4.082 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.5455, allocations: 1.654 MB / 0.6382 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.5455, allocations: 10.62 kB / 0.6382 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5455, allocations: 2.5 kB / 0.6382 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.5456, allocations: 6.984 kB / 0.6382 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004072/0.5496, allocations: 2.627 MB / 0.6408 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5497, allocations: 2.531 kB / 0.6408 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.5502, allocations: 171.3 kB / 0.6409 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005088/0.5507, allocations: 164.3 kB / 0.6411 GB, free: 1.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.132e-05/0.5508, allocations: 35.69 kB / 0.6411 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003567/0.5544, allocations: 4.483 MB / 0.6455 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5544, allocations: 2.469 kB / 0.6455 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.557, allocations: 1.622 MB / 0.6471 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.5576, allocations: 345.4 kB / 0.6474 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.5578, allocations: 29.59 kB / 0.6474 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/0.5584, allocations: 52.06 kB / 0.6475 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.5586, allocations: 84.94 kB / 0.6476 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/0.5587, allocations: 36.73 kB / 0.6476 GB, free: 11.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.5599, allocations: 0.91 MB / 0.6485 GB, free: 11.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.684e-06/0.5599, allocations: 0 / 0.6485 GB, free: 11.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001642/0.5615, allocations: 0.5932 MB / 0.6491 GB, free: 11.21 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/0.5626, allocations: 0.7197 MB / 0.6498 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.5645, allocations: 1.191 MB / 0.6509 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5645, allocations: 1.969 kB / 0.6509 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.5657, allocations: 0.8248 MB / 0.6517 GB, free: 9.605 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.5679, allocations: 0.4928 MB / 0.6522 GB, free: 9.348 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/0.5727, allocations: 3.383 MB / 0.6555 GB, free: 7.062 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007682/0.5735, allocations: 1.265 MB / 0.6568 GB, free: 6.113 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001033/0.5745, allocations: 299.4 kB / 0.657 GB, free: 5.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.5748, allocations: 131 kB / 0.6572 GB, free: 5.945 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5748, allocations: 2.719 kB / 0.6572 GB, free: 5.945 MB / 494.1 MB Notification: Performance of Templates: time 0.0465/0.6213, allocations: 28.33 MB / 0.6848 GB, free: 11.42 MB / 0.5137 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches