Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_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_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.007895/0.007895, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001184/0.001185, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7168/0.7168, allocations: 91.19 MB / 381.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 79.88 kB / 0.5168 GB, free: 9.02 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 67.68 MB / 0.5829 GB, free: 5.258 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.6223/0.7717, allocations: 201.8 MB / 0.78 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01848/0.7902, allocations: 15.03 MB / 0.7947 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.7914, allocations: 43.75 kB / 0.7948 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.7931, allocations: 0.5083 MB / 0.7953 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00408/0.7972, allocations: 1.335 MB / 0.7966 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.8012, allocations: 1.48 MB / 0.798 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001881/0.8031, allocations: 1.351 MB / 0.7993 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.8036, allocations: 266.8 kB / 0.7996 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.8058, allocations: 1.082 MB / 0.8006 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007619/0.8065, allocations: 0.5053 MB / 0.8011 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.8068, allocations: 80 kB / 0.8012 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005456/0.8122, allocations: 2.609 MB / 0.8038 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.8126, allocations: 203.1 kB / 0.804 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007826/0.8134, allocations: 0.4972 MB / 0.8044 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00475/0.8181, allocations: 1.952 MB / 0.8063 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8182, allocations: 3.984 kB / 0.8063 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8182, allocations: 0 / 0.8063 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.925e-05/0.8182, allocations: 4 kB / 0.8064 GB, free: 2.91 MB / 0.6387 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.003965/0.8222, allocations: 1.539 MB / 0.8079 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.677e-05/0.8223, allocations: 8.031 kB / 0.8079 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.8246, allocations: 244.7 kB / 0.8081 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.8272, allocations: 0.7711 MB / 0.8089 GB, free: 264 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.8276, allocations: 184.8 kB / 0.809 GB, free: 56 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.8278, allocations: 72.08 kB / 0.8091 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.83, allocations: 0.8219 MB / 0.8099 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.83, allocations: 3.938 kB / 0.8099 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/0.8301, allocations: 32 kB / 0.8099 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.8301, allocations: 23.92 kB / 0.81 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.8317, allocations: 0.6558 MB / 0.8106 GB, free: 14.43 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.004481/0.8362, allocations: 3.174 MB / 0.8137 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.8375, allocations: 0.5972 MB / 0.8143 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/0.8382, allocations: 354.4 kB / 0.8146 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006333/0.8388, allocations: 0.8952 MB / 0.8155 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.8388, allocations: 47.11 kB / 0.8155 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=58): time 1.613e-06/0.8389, allocations: 0 / 0.8155 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of matching and sorting (n=58): time 0.004475/0.8433, allocations: 1.682 MB / 0.8172 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.8434, allocations: 55.97 kB / 0.8172 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007786/0.8442, allocations: 0.6691 MB / 0.8179 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.8442, allocations: 33.7 kB / 0.8179 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.8445, allocations: 436.1 kB / 0.8183 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.8447, allocations: 201.1 kB / 0.8185 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.8449, allocations: 118.1 kB / 0.8186 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.845, allocations: 330 kB / 0.819 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/0.8456, allocations: 249 kB / 0.8192 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.8462, allocations: 312.6 kB / 0.8195 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.8474, allocations: 0.5445 MB / 0.82 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.8475, allocations: 3.938 kB / 0.82 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002595/0.8501, allocations: 1.027 MB / 0.821 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.8501, allocations: 4 kB / 0.821 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8501, allocations: 8 kB / 0.821 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006978/0.8508, allocations: 230.3 kB / 0.8213 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007097/0.8515, allocations: 147.8 kB / 0.8214 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005364/0.8569, allocations: 5.098 MB / 0.8264 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.8574, allocations: 75.39 kB / 0.8264 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.8576, allocations: 39.98 kB / 0.8265 GB, free: 13.07 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.0003173/0.8579, allocations: 209.6 kB / 0.8267 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.8581, allocations: 82.97 kB / 0.8268 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/0.8612, allocations: 1.398 MB / 0.8281 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.8613, allocations: 7.938 kB / 0.8281 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8613, allocations: 4 kB / 0.8281 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.8613, allocations: 3.984 kB / 0.8281 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004004/0.8653, allocations: 2.083 MB / 0.8302 GB, free: 9.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.8653, allocations: 4 kB / 0.8302 GB, free: 9.152 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007142/0.866, allocations: 127.8 kB / 0.8303 GB, free: 9.027 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007132/0.8668, allocations: 234.4 kB / 0.8305 GB, free: 8.789 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/0.8668, allocations: 27.92 kB / 0.8306 GB, free: 8.762 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005412/0.8723, allocations: 5.1 MB / 0.8355 GB, free: 3.242 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8723, allocations: 4 kB / 0.8355 GB, free: 3.238 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003227/0.8755, allocations: 1.405 MB / 0.8369 GB, free: 1.793 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/0.8759, allocations: 207.9 kB / 0.8371 GB, free: 1.57 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.8761, allocations: 24.81 kB / 0.8371 GB, free: 1.547 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.8766, allocations: 31.97 kB / 0.8372 GB, free: 1.516 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.8767, allocations: 52.36 kB / 0.8372 GB, free: 1.461 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.8768, allocations: 31.98 kB / 0.8372 GB, free: 1.43 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006473/0.8775, allocations: 487 kB / 0.8377 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8775, allocations: 4 kB / 0.8377 GB, free: 0.957 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001303/0.8788, allocations: 391.3 kB / 0.8381 GB, free: 0.5742 MB / 0.67 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.001212/0.88, allocations: 0.5298 MB / 0.8386 GB, free: 52 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.3523/1.232, allocations: 1.058 MB / 0.8396 GB, free: 227.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.232, allocations: 4.875 kB / 0.8396 GB, free: 227.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.234, allocations: 0.787 MB / 0.8404 GB, free: 226.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/1.235, allocations: 203 kB / 0.8406 GB, free: 226.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/1.239, allocations: 1.797 MB / 0.8424 GB, free: 226.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/1.239, allocations: 0.9887 MB / 0.8433 GB, free: 225.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001113/1.24, allocations: 462.3 kB / 0.8438 GB, free: 225.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/1.241, allocations: 110.6 kB / 0.8439 GB, free: 225.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.102e-06/1.241, allocations: 1.031 kB / 0.8439 GB, free: 225.4 MB / 0.67 GB Notification: Performance of Templates: time 0.03178/1.273, allocations: 16.56 MB / 0.86 GB, free: 222.3 MB / 0.67 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches