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.002191/0.002191, allocations: 108.5 kB / 16.41 MB, free: 6.453 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.002478/0.002478, allocations: 192 kB / 17.34 MB, free: 5.715 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8186/0.8186, allocations: 97.65 MB / 388.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 88.16 kB / 0.5268 GB, free: 38.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1181, allocations: 69.24 MB / 0.5944 GB, free: 0.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5573/0.6754, allocations: 202.4 MB / 0.792 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.6893, allocations: 14.88 MB / 0.8066 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.6906, allocations: 46.69 kB / 0.8066 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.6918, allocations: 0.5134 MB / 0.8071 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003115/0.6949, allocations: 1.352 MB / 0.8084 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.6981, allocations: 1.393 MB / 0.8098 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.6999, allocations: 1.393 MB / 0.8112 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.7002, allocations: 173.9 kB / 0.8113 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.702, allocations: 1.099 MB / 0.8124 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.7025, allocations: 0.5055 MB / 0.8129 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.975e-05/0.7026, allocations: 79.78 kB / 0.813 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004461/0.707, allocations: 2.519 MB / 0.8154 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.7072, allocations: 200.6 kB / 0.8156 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004884/0.7077, allocations: 0.5 MB / 0.8161 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004469/0.7122, allocations: 1.903 MB / 0.818 GB, free: 272 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.7122, allocations: 4.469 kB / 0.818 GB, free: 272 kB / 0.5919 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7122, allocations: 0 / 0.818 GB, free: 272 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.7122, allocations: 2.75 kB / 0.818 GB, free: 272 kB / 0.5919 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.003124/0.7153, allocations: 1.58 MB / 0.8195 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.7154, allocations: 10.47 kB / 0.8195 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.7171, allocations: 247.5 kB / 0.8198 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.7185, allocations: 0.8001 MB / 0.8205 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.7187, allocations: 178.3 kB / 0.8207 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.7188, allocations: 80.69 kB / 0.8208 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.7202, allocations: 0.8204 MB / 0.8216 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.7203, allocations: 3.094 kB / 0.8216 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.7203, allocations: 33 kB / 0.8216 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.7203, allocations: 18.12 kB / 0.8216 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.7216, allocations: 0.6467 MB / 0.8223 GB, free: 14.77 MB / 0.6075 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.004075/0.7257, allocations: 3.235 MB / 0.8254 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.7269, allocations: 0.5565 MB / 0.826 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005956/0.7275, allocations: 320.2 kB / 0.8263 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007123/0.7282, allocations: 0.8985 MB / 0.8272 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.7282, allocations: 41.19 kB / 0.8272 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 2.255e-06/0.7282, allocations: 2.531 kB / 0.8272 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.004568/0.7328, allocations: 1.679 MB / 0.8288 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.7328, allocations: 57.03 kB / 0.8289 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007236/0.7336, allocations: 0.6632 MB / 0.8295 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.7336, allocations: 35.73 kB / 0.8296 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.734, allocations: 448.1 kB / 0.83 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.7342, allocations: 216.2 kB / 0.8302 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.7344, allocations: 113.6 kB / 0.8303 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7345, allocations: 330.8 kB / 0.8306 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.7351, allocations: 253.1 kB / 0.8309 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005836/0.7356, allocations: 259.5 kB / 0.8311 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.7368, allocations: 0.5265 MB / 0.8316 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.7368, allocations: 0.7812 kB / 0.8316 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002492/0.7392, allocations: 1.009 MB / 0.8326 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.7393, allocations: 10.73 kB / 0.8326 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.7393, allocations: 0.9062 kB / 0.8326 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007345/0.74, allocations: 235.7 kB / 0.8329 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.7407, allocations: 147.8 kB / 0.833 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006045/0.7468, allocations: 5.089 MB / 0.838 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.7474, allocations: 71.3 kB / 0.838 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/0.7475, allocations: 35.64 kB / 0.8381 GB, free: 6.168 MB / 0.6075 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.0003837/0.7479, allocations: 210.3 kB / 0.8383 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.748, allocations: 96.17 kB / 0.8384 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003292/0.7513, allocations: 1.4 MB / 0.8397 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.7513, allocations: 5.859 kB / 0.8397 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.7513, allocations: 6.812 kB / 0.8397 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.7513, allocations: 3.984 kB / 0.8398 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004274/0.7556, allocations: 2.09 MB / 0.8418 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.7556, allocations: 2.75 kB / 0.8418 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007683/0.7564, allocations: 141.5 kB / 0.8419 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007585/0.7571, allocations: 235.2 kB / 0.8422 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.7572, allocations: 25.8 kB / 0.8422 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00617/0.7634, allocations: 5.101 MB / 0.8472 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7634, allocations: 5.906 kB / 0.8472 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003348/0.7667, allocations: 1.417 MB / 0.8485 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003831/0.7671, allocations: 213.5 kB / 0.8488 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.7672, allocations: 21.55 kB / 0.8488 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/0.7677, allocations: 43.77 kB / 0.8488 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.7678, allocations: 52.5 kB / 0.8489 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.7679, allocations: 33.42 kB / 0.8489 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006105/0.7685, allocations: 484.4 kB / 0.8494 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7685, allocations: 0 / 0.8494 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001078/0.7696, allocations: 374.7 kB / 0.8497 GB, free: 13.59 MB / 0.6231 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.000855/0.7704, allocations: 0.4947 MB / 0.8502 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002434/0.7729, allocations: 1.037 MB / 0.8512 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7729, allocations: 0 / 0.8512 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.7745, allocations: 0.7773 MB / 0.852 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009915/0.7755, allocations: 215.2 kB / 0.8522 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.779, allocations: 1.842 MB / 0.854 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.7797, allocations: 1.009 MB / 0.855 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009799/0.7807, allocations: 450.6 kB / 0.8554 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.781, allocations: 111.4 kB / 0.8555 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.781, allocations: 0 / 0.8555 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of Templates: time 0.03055/0.8115, allocations: 16.07 MB / 0.8712 GB, free: 8.059 MB / 0.6387 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches