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.001067/0.001067, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008631/0.008631, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7019/0.7019, allocations: 93.82 MB / 385.3 MB, free: 7.223 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 10.16 kB / 465.8 MB, free: 22.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1329, allocations: 69.78 MB / 0.523 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.05163/0.1845, allocations: 53.35 MB / 0.5751 GB, free: 356 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3069/0.4914, allocations: 21.48 MB / 0.5961 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/0.4943, allocations: 76.41 kB / 0.5962 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.4969, allocations: 0.7825 MB / 0.597 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005544/0.5024, allocations: 1.546 MB / 0.5985 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004479/0.5069, allocations: 1.198 MB / 0.5996 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004136/0.5111, allocations: 2.975 MB / 0.6025 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.5122, allocations: 452.9 kB / 0.603 GB, free: 20.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.5144, allocations: 0.9272 MB / 0.6039 GB, free: 20.19 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.5159, allocations: 0.8644 MB / 0.6047 GB, free: 19.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.5161, allocations: 64.5 kB / 0.6048 GB, free: 19.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004608/0.5207, allocations: 1.158 MB / 0.6059 GB, free: 19.83 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003998/0.5211, allocations: 268.4 kB / 0.6062 GB, free: 19.74 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.5224, allocations: 0.8504 MB / 0.607 GB, free: 19.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005705/0.5281, allocations: 2.441 MB / 0.6094 GB, free: 18.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5282, allocations: 0 / 0.6094 GB, free: 18.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5282, allocations: 7.375 kB / 0.6094 GB, free: 18.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.665e-05/0.5282, allocations: 0 / 0.6094 GB, free: 18.93 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.004392/0.5326, allocations: 2.037 MB / 0.6114 GB, free: 17.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5327, allocations: 9 kB / 0.6114 GB, free: 17.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.5331, allocations: 225.9 kB / 0.6116 GB, free: 17.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.5352, allocations: 1.173 MB / 0.6128 GB, free: 17.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/0.5352, allocations: 84 kB / 0.6128 GB, free: 17.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.5354, allocations: 119.6 kB / 0.6129 GB, free: 17.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.5375, allocations: 1.208 MB / 0.6141 GB, free: 17.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.5376, allocations: 4.969 kB / 0.6141 GB, free: 17.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-05/0.5377, allocations: 51.14 kB / 0.6142 GB, free: 17.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.5377, allocations: 27.78 kB / 0.6142 GB, free: 17.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.5396, allocations: 1.15 MB / 0.6153 GB, free: 17.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006719/0.5463, allocations: 5.037 MB / 0.6202 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.5479, allocations: 0.9179 MB / 0.6211 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.5486, allocations: 487.9 kB / 0.6216 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005708/0.5543, allocations: 5.15 MB / 0.6266 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.5544, allocations: 51.36 kB / 0.6267 GB, free: 6.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 3.126e-06/0.5544, allocations: 4 kB / 0.6267 GB, free: 6.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.00357/0.558, allocations: 1.726 MB / 0.6284 GB, free: 5.695 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.5581, allocations: 61.91 kB / 0.6284 GB, free: 5.629 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.5598, allocations: 1.283 MB / 0.6297 GB, free: 4.945 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.5599, allocations: 41.02 kB / 0.6297 GB, free: 4.902 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005997/0.5605, allocations: 0.768 MB / 0.6305 GB, free: 4.223 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.5608, allocations: 351.3 kB / 0.6308 GB, free: 3.922 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.5609, allocations: 79.05 kB / 0.6309 GB, free: 3.863 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.561, allocations: 339.6 kB / 0.6312 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.5616, allocations: 306.6 kB / 0.6315 GB, free: 3.391 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.5622, allocations: 449.8 kB / 0.6319 GB, free: 3.094 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.5635, allocations: 0.7731 MB / 0.6327 GB, free: 2.648 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5635, allocations: 0 / 0.6327 GB, free: 2.648 MB / 462.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002098/0.5656, allocations: 1.164 MB / 0.6338 GB, free: 2.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5656, allocations: 4.844 kB / 0.6338 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5656, allocations: 2.406 kB / 0.6338 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/0.5663, allocations: 170.3 kB / 0.634 GB, free: 1.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/0.5669, allocations: 191.1 kB / 0.6342 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003703/0.5707, allocations: 4.466 MB / 0.6385 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.5717, allocations: 114.6 kB / 0.6386 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.5718, allocations: 38.95 kB / 0.6387 GB, free: 13.41 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.0005388/0.5724, allocations: 278.7 kB / 0.6389 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.5726, allocations: 162 kB / 0.6391 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002786/0.5754, allocations: 1.658 MB / 0.6407 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.5754, allocations: 12.41 kB / 0.6407 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.5755, allocations: 1.969 kB / 0.6407 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.5755, allocations: 14.69 kB / 0.6408 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004316/0.5798, allocations: 2.649 MB / 0.6433 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5798, allocations: 3.375 kB / 0.6433 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.5804, allocations: 168.6 kB / 0.6435 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005464/0.581, allocations: 171.1 kB / 0.6437 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.716e-05/0.581, allocations: 36.78 kB / 0.6437 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/0.5847, allocations: 4.485 MB / 0.6481 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5847, allocations: 3.938 kB / 0.6481 GB, free: 5.641 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/0.5875, allocations: 1.634 MB / 0.6497 GB, free: 4.684 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000726/0.5883, allocations: 353.6 kB / 0.65 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.5885, allocations: 22.66 kB / 0.65 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/0.5891, allocations: 56.91 kB / 0.6501 GB, free: 4.328 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.5893, allocations: 87.12 kB / 0.6502 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.081e-05/0.5894, allocations: 41.7 kB / 0.6502 GB, free: 4.262 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001305/0.5907, allocations: 0.9118 MB / 0.6511 GB, free: 3.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5907, allocations: 0 / 0.6511 GB, free: 3.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001711/0.5924, allocations: 0.5917 MB / 0.6517 GB, free: 3.426 MB / 478.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.001272/0.5937, allocations: 0.7537 MB / 0.6524 GB, free: 2.734 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.596, allocations: 1.196 MB / 0.6536 GB, free: 1.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.596, allocations: 4 kB / 0.6536 GB, free: 1.496 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.5973, allocations: 0.8333 MB / 0.6544 GB, free: 0.625 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/0.6004, allocations: 496.5 kB / 0.6549 GB, free: 152 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005542/0.606, allocations: 3.498 MB / 0.6583 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009484/0.607, allocations: 1.261 MB / 0.6595 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001225/0.6082, allocations: 295.1 kB / 0.6598 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.6086, allocations: 135.4 kB / 0.6599 GB, free: 10.92 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6086, allocations: 0 / 0.6599 GB, free: 10.92 MB / 494.1 MB Notification: Performance of Templates: time 0.05012/0.6587, allocations: 28.11 MB / 0.6874 GB, free: 15.09 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