Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.007252/0.007252, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001595/0.001595, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6833/0.6833, allocations: 93.71 MB / 384.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 79.88 kB / 0.5204 GB, free: 5.805 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1481, allocations: 68.27 MB / 0.5871 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5341/0.6823, allocations: 201.8 MB / 0.7842 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.7007, allocations: 14.87 MB / 0.7987 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.7019, allocations: 39.75 kB / 0.7988 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.7035, allocations: 0.5237 MB / 0.7993 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004108/0.7077, allocations: 1.322 MB / 0.8006 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.712, allocations: 1.395 MB / 0.8019 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002111/0.7141, allocations: 1.39 MB / 0.8033 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.7146, allocations: 265.3 kB / 0.8035 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.7169, allocations: 1.07 MB / 0.8046 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006036/0.7175, allocations: 0.5013 MB / 0.8051 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.7176, allocations: 80 kB / 0.8052 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00501/0.7227, allocations: 2.508 MB / 0.8076 GB, free: 360 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.7229, allocations: 211.1 kB / 0.8078 GB, free: 148 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006533/0.7236, allocations: 0.4973 MB / 0.8083 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003612/0.7272, allocations: 1.896 MB / 0.8101 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7272, allocations: 0 / 0.8101 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7272, allocations: 0 / 0.8101 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.7273, allocations: 0 / 0.8101 GB, free: 13.74 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.002822/0.7301, allocations: 1.598 MB / 0.8117 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.7302, allocations: 8.031 kB / 0.8117 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.7319, allocations: 247 kB / 0.8119 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.7334, allocations: 0.7954 MB / 0.8127 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.7336, allocations: 184.8 kB / 0.8129 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.7338, allocations: 79.94 kB / 0.813 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.7354, allocations: 0.8179 MB / 0.8138 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.7355, allocations: 0 / 0.8138 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.7355, allocations: 36.86 kB / 0.8138 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.7356, allocations: 16 kB / 0.8138 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.737, allocations: 0.648 MB / 0.8145 GB, free: 9.188 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.004318/0.7414, allocations: 3.223 MB / 0.8176 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.7428, allocations: 0.6074 MB / 0.8182 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000741/0.7435, allocations: 354.3 kB / 0.8185 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006877/0.7442, allocations: 0.8991 MB / 0.8194 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.7442, allocations: 43.11 kB / 0.8195 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 2.275e-06/0.7443, allocations: 0 / 0.8195 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.005078/0.7493, allocations: 1.675 MB / 0.8211 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.7494, allocations: 59.97 kB / 0.8211 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/0.7502, allocations: 0.6768 MB / 0.8218 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.7503, allocations: 37.7 kB / 0.8218 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.7506, allocations: 432.8 kB / 0.8223 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.7508, allocations: 218.1 kB / 0.8225 GB, free: 376 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.751, allocations: 110.2 kB / 0.8226 GB, free: 260 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7511, allocations: 326 kB / 0.8229 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006623/0.7518, allocations: 253 kB / 0.8231 GB, free: 15.68 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006537/0.7525, allocations: 268.1 kB / 0.8234 GB, free: 15.42 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.7538, allocations: 0.5271 MB / 0.8239 GB, free: 14.89 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7538, allocations: 0 / 0.8239 GB, free: 14.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002962/0.7568, allocations: 1.016 MB / 0.8249 GB, free: 13.86 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.7568, allocations: 7.938 kB / 0.8249 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.7568, allocations: 0 / 0.8249 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008723/0.7577, allocations: 230.4 kB / 0.8251 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007773/0.7585, allocations: 143.8 kB / 0.8253 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006294/0.7648, allocations: 5.1 MB / 0.8302 GB, free: 7.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.7654, allocations: 71.67 kB / 0.8303 GB, free: 7.883 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.7656, allocations: 39.61 kB / 0.8303 GB, free: 7.848 MB / 0.67 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.0003988/0.766, allocations: 205.7 kB / 0.8305 GB, free: 7.637 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.7662, allocations: 87.39 kB / 0.8306 GB, free: 7.551 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003791/0.77, allocations: 1.424 MB / 0.832 GB, free: 6.113 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.77, allocations: 11.94 kB / 0.832 GB, free: 6.102 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.77, allocations: 0 / 0.832 GB, free: 6.102 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.77, allocations: 11.98 kB / 0.832 GB, free: 6.09 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004699/0.7747, allocations: 2.09 MB / 0.8341 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.7748, allocations: 3.938 kB / 0.8341 GB, free: 3.895 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007815/0.7756, allocations: 143.9 kB / 0.8342 GB, free: 3.754 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007957/0.7764, allocations: 234.3 kB / 0.8344 GB, free: 3.516 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/0.7764, allocations: 27.92 kB / 0.8345 GB, free: 3.488 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006048/0.7825, allocations: 5.104 MB / 0.8394 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.7825, allocations: 4 kB / 0.8395 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003642/0.7862, allocations: 1.418 MB / 0.8408 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.7866, allocations: 212.3 kB / 0.841 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.7867, allocations: 23.92 kB / 0.8411 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/0.7873, allocations: 36.97 kB / 0.8411 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.7874, allocations: 48.48 kB / 0.8411 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.992e-05/0.7875, allocations: 43.98 kB / 0.8412 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006241/0.7881, allocations: 479 kB / 0.8416 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7882, allocations: 0 / 0.8416 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001132/0.7893, allocations: 371 kB / 0.842 GB, free: 11.3 MB / 0.6856 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.001044/0.7903, allocations: 0.496 MB / 0.8425 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002573/0.7929, allocations: 1.066 MB / 0.8435 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.793, allocations: 0 / 0.8435 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.7946, allocations: 0.8 MB / 0.8443 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.7957, allocations: 214.5 kB / 0.8445 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.7991, allocations: 1.859 MB / 0.8463 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.7998, allocations: 0.9932 MB / 0.8473 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009851/0.8008, allocations: 445.9 kB / 0.8477 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.8011, allocations: 107.4 kB / 0.8478 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of SimCode: time 4.21e-07/0.8011, allocations: 0 / 0.8478 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of Templates: time 0.312/1.113, allocations: 15.96 MB / 0.8634 GB, free: 236.6 MB / 0.6856 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches