Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008479/0.008479, allocations: 99.66 kB / 15.73 MB, free: 5.551 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.002322/0.002322, allocations: 196.7 kB / 16.68 MB, free: 5.48 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.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.6847/0.6847, allocations: 93.71 MB / 384.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 83.88 kB / 0.5204 GB, free: 5.816 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1245, allocations: 68.27 MB / 0.5871 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5103/0.6349, allocations: 201.8 MB / 0.7842 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01779/0.6527, allocations: 15.07 MB / 0.7989 GB, free: 9.266 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008932/0.6536, allocations: 47.69 kB / 0.799 GB, free: 9.219 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.655, allocations: 0.5123 MB / 0.7995 GB, free: 8.703 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.003429/0.6585, allocations: 1.333 MB / 0.8008 GB, free: 7.363 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.6623, allocations: 1.465 MB / 0.8022 GB, free: 5.898 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.6641, allocations: 1.397 MB / 0.8036 GB, free: 4.496 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.6645, allocations: 260.5 kB / 0.8038 GB, free: 4.23 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.6668, allocations: 1.078 MB / 0.8049 GB, free: 3.148 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007066/0.6675, allocations: 0.5053 MB / 0.8054 GB, free: 2.641 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.6676, allocations: 83.94 kB / 0.8054 GB, free: 2.559 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005335/0.673, allocations: 2.598 MB / 0.808 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.6733, allocations: 219 kB / 0.8082 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006519/0.6739, allocations: 0.5049 MB / 0.8087 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.6784, allocations: 1.974 MB / 0.8106 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6784, allocations: 0 / 0.8106 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6784, allocations: 0 / 0.8106 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.6785, allocations: 0 / 0.8106 GB, free: 13.25 MB / 0.6544 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.003362/0.6818, allocations: 1.61 MB / 0.8122 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.6819, allocations: 8.031 kB / 0.8122 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/0.6846, allocations: 247 kB / 0.8124 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.686, allocations: 0.8001 MB / 0.8132 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.6862, allocations: 188.8 kB / 0.8134 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.6864, allocations: 75.95 kB / 0.8135 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.688, allocations: 0.8257 MB / 0.8143 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.688, allocations: 0 / 0.8143 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.6882, allocations: 32 kB / 0.8143 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.6882, allocations: 16 kB / 0.8143 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.6897, allocations: 0.6636 MB / 0.815 GB, free: 8.664 MB / 0.6544 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.004478/0.6942, allocations: 3.184 MB / 0.8181 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.6957, allocations: 0.5996 MB / 0.8187 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007306/0.6964, allocations: 353.5 kB / 0.819 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007597/0.6972, allocations: 0.903 MB / 0.8199 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.6972, allocations: 35.12 kB / 0.8199 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=58): time 2.194e-06/0.6973, allocations: 3.938 kB / 0.8199 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of matching and sorting (n=58): time 0.005204/0.7025, allocations: 1.687 MB / 0.8216 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.7025, allocations: 59.97 kB / 0.8216 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.7034, allocations: 0.6888 MB / 0.8223 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.7035, allocations: 33.7 kB / 0.8223 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.7038, allocations: 456.7 kB / 0.8228 GB, free: 80 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.704, allocations: 206.4 kB / 0.823 GB, free: 15.87 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.7042, allocations: 114.2 kB / 0.8231 GB, free: 15.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.7043, allocations: 326 kB / 0.8234 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006677/0.705, allocations: 257 kB / 0.8236 GB, free: 15.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/0.7057, allocations: 308.6 kB / 0.8239 GB, free: 14.87 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.7071, allocations: 0.5522 MB / 0.8245 GB, free: 14.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.7071, allocations: 3.75 kB / 0.8245 GB, free: 14.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002916/0.71, allocations: 1.035 MB / 0.8255 GB, free: 13.25 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.71, allocations: 4 kB / 0.8255 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.71, allocations: 0 / 0.8255 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008267/0.7109, allocations: 238.2 kB / 0.8257 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007772/0.7117, allocations: 147.8 kB / 0.8258 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005925/0.7176, allocations: 5.107 MB / 0.8308 GB, free: 7.336 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/0.7182, allocations: 71.62 kB / 0.8309 GB, free: 7.266 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.7184, allocations: 39.98 kB / 0.8309 GB, free: 7.227 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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.0003713/0.7187, allocations: 205.6 kB / 0.8311 GB, free: 7.016 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.7189, allocations: 91.44 kB / 0.8312 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/0.7226, allocations: 1.406 MB / 0.8326 GB, free: 5.504 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.7226, allocations: 4 kB / 0.8326 GB, free: 5.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7226, allocations: 8 kB / 0.8326 GB, free: 5.492 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.7226, allocations: 3.984 kB / 0.8326 GB, free: 5.488 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004367/0.727, allocations: 2.075 MB / 0.8346 GB, free: 3.309 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.727, allocations: 3.938 kB / 0.8346 GB, free: 3.305 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007629/0.7278, allocations: 136 kB / 0.8348 GB, free: 3.172 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007641/0.7285, allocations: 246.2 kB / 0.835 GB, free: 2.922 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.788e-05/0.7286, allocations: 23.98 kB / 0.835 GB, free: 2.898 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005824/0.7345, allocations: 5.095 MB / 0.84 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.7345, allocations: 4 kB / 0.84 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.738, allocations: 1.41 MB / 0.8414 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/0.7383, allocations: 224.6 kB / 0.8416 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.7384, allocations: 12 kB / 0.8416 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/0.7389, allocations: 31.97 kB / 0.8416 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.7391, allocations: 56.36 kB / 0.8417 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/0.7392, allocations: 39.97 kB / 0.8417 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000592/0.7397, allocations: 495 kB / 0.8422 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7398, allocations: 0 / 0.8422 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001067/0.7408, allocations: 395 kB / 0.8426 GB, free: 10.69 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.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 (50): * Single equations (assignments): 47 * 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.0009566/0.7418, allocations: 0.5271 MB / 0.8431 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00245/0.7443, allocations: 1.076 MB / 0.8441 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7443, allocations: 0 / 0.8441 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.746, allocations: 0.7915 MB / 0.8449 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.7471, allocations: 215.4 kB / 0.8451 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.7502, allocations: 1.847 MB / 0.8469 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.7508, allocations: 0.9932 MB / 0.8479 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009833/0.7518, allocations: 432.5 kB / 0.8483 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/0.7522, allocations: 123.3 kB / 0.8484 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of SimCode: time 5.01e-07/0.7522, allocations: 3.938 kB / 0.8484 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of Templates: time 0.2823/1.034, allocations: 16.6 MB / 0.8646 GB, free: 236.9 MB / 0.6856 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches