Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 91.61 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.008976/0.008976, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6857/0.6857, allocations: 91.32 MB / 382.7 MB, free: 9.656 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004386, allocations: 15.25 kB / 462.7 MB, free: 23.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1413, allocations: 69.21 MB / 0.5195 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5149/0.6563, allocations: 197.8 MB / 0.7126 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01773/0.6741, allocations: 14.8 MB / 0.7271 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.6757, allocations: 43.69 kB / 0.7271 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.6771, allocations: 457.6 kB / 0.7276 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.6808, allocations: 1.163 MB / 0.7287 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.6845, allocations: 1.213 MB / 0.7299 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002014/0.6865, allocations: 1.484 MB / 0.7313 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004198/0.687, allocations: 238.1 kB / 0.7315 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.6892, allocations: 1.02 MB / 0.7325 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005312/0.6898, allocations: 469.4 kB / 0.733 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.782e-05/0.6899, allocations: 40 kB / 0.733 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00487/0.6947, allocations: 2.581 MB / 0.7356 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.695, allocations: 155.2 kB / 0.7357 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004835/0.6955, allocations: 490.8 kB / 0.7362 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003152/0.6986, allocations: 1.756 MB / 0.7379 GB, free: 8.289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.6986, allocations: 0 / 0.7379 GB, free: 8.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.405e-06/0.6987, allocations: 3.938 kB / 0.7379 GB, free: 8.285 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.6987, allocations: 0 / 0.7379 GB, free: 8.285 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003924/0.7026, allocations: 1.356 MB / 0.7392 GB, free: 6.875 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.7027, allocations: 8.031 kB / 0.7392 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/0.7057, allocations: 234.9 kB / 0.7394 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.7077, allocations: 0.701 MB / 0.7401 GB, free: 5.895 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003641/0.7081, allocations: 188.8 kB / 0.7403 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.7083, allocations: 75.91 kB / 0.7404 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.7112, allocations: 0.8531 MB / 0.7412 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.7113, allocations: 0 / 0.7412 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.7114, allocations: 24 kB / 0.7412 GB, free: 4.719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.7115, allocations: 24 kB / 0.7413 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.714, allocations: 0.6753 MB / 0.7419 GB, free: 4.02 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007315/0.7214, allocations: 3.256 MB / 0.7451 GB, free: 488 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.7237, allocations: 0.6279 MB / 0.7457 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.7251, allocations: 374.4 kB / 0.7461 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/0.7262, allocations: 0.9068 MB / 0.747 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.7262, allocations: 35.12 kB / 0.747 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 3.677e-06/0.7262, allocations: 0 / 0.747 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.01011/0.7364, allocations: 1.901 MB / 0.7488 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.7365, allocations: 55.97 kB / 0.7489 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.7382, allocations: 0.6493 MB / 0.7495 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.7383, allocations: 37.7 kB / 0.7496 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/0.7389, allocations: 420.2 kB / 0.75 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.7393, allocations: 205 kB / 0.7502 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.7395, allocations: 49.69 kB / 0.7502 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002486/0.7398, allocations: 326 kB / 0.7505 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.7411, allocations: 281 kB / 0.7508 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.7425, allocations: 284.9 kB / 0.7511 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.7452, allocations: 0.578 MB / 0.7516 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.7453, allocations: 0 / 0.7516 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00566/0.7509, allocations: 1.133 MB / 0.7527 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.751, allocations: 8 kB / 0.7527 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.751, allocations: 0 / 0.7527 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/0.7527, allocations: 270.3 kB / 0.753 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.7541, allocations: 143.8 kB / 0.7531 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.7646, allocations: 4.927 MB / 0.7579 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.7659, allocations: 87.53 kB / 0.758 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.7661, allocations: 43.97 kB / 0.7581 GB, free: 2.414 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * 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 {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007006/0.7669, allocations: 209.6 kB / 0.7583 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/0.7672, allocations: 78.97 kB / 0.7583 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007392/0.7746, allocations: 1.531 MB / 0.7598 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.7747, allocations: 8 kB / 0.7598 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.7747, allocations: 4 kB / 0.7599 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.7747, allocations: 0 / 0.7599 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008967/0.7837, allocations: 2.223 MB / 0.762 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.7837, allocations: 3.938 kB / 0.762 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.7853, allocations: 136 kB / 0.7622 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/0.7869, allocations: 270.3 kB / 0.7624 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.787, allocations: 27.98 kB / 0.7624 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/0.798, allocations: 4.923 MB / 0.7672 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.798, allocations: 4 kB / 0.7673 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007306/0.8054, allocations: 1.542 MB / 0.7688 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007433/0.8061, allocations: 215.8 kB / 0.769 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.8064, allocations: 15.98 kB / 0.769 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.8076, allocations: 59.95 kB / 0.769 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/0.8079, allocations: 60.38 kB / 0.7691 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.808, allocations: 31.98 kB / 0.7691 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001217/0.8093, allocations: 471 kB / 0.7696 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8093, allocations: 0 / 0.7696 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001863/0.8112, allocations: 371.2 kB / 0.7699 GB, free: 5.668 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (53): * Single equations (assignments): 50 * 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 {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001646/0.8128, allocations: 0.5111 MB / 0.7704 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002878/0.8158, allocations: 1.144 MB / 0.7715 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.8158, allocations: 4 kB / 0.7715 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.8177, allocations: 0.8624 MB / 0.7724 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.819, allocations: 183.3 kB / 0.7726 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.8227, allocations: 2.314 MB / 0.7748 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.8233, allocations: 0.9892 MB / 0.7758 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001161/0.8245, allocations: 443.4 kB / 0.7762 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/0.8249, allocations: 111.4 kB / 0.7763 GB, free: 15 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.8249, allocations: 0 / 0.7763 GB, free: 15 MB / 0.5919 GB Notification: Performance of Templates: time 0.02673/0.8516, allocations: 15.25 MB / 0.7912 GB, free: 15.84 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches