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.001242/0.001242, allocations: 112.5 kB / 15.73 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 192.7 kB / 16.66 MB, free: 6.586 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7004/0.7004, allocations: 91.2 MB / 381.7 MB, free: 9.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 79.86 kB / 0.5168 GB, free: 8.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.135, allocations: 67.69 MB / 0.583 GB, free: 5.215 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5214/0.6564, allocations: 201.8 MB / 0.7801 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.6737, allocations: 14.84 MB / 0.7945 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.6748, allocations: 39.75 kB / 0.7946 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.6763, allocations: 0.5121 MB / 0.7951 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.6797, allocations: 1.306 MB / 0.7964 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00352/0.6832, allocations: 1.388 MB / 0.7977 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001517/0.6847, allocations: 1.343 MB / 0.799 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.6852, allocations: 269 kB / 0.7993 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.6872, allocations: 1.059 MB / 0.8003 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005425/0.6877, allocations: 0.4975 MB / 0.8008 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.6879, allocations: 76 kB / 0.8009 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004733/0.6926, allocations: 2.508 MB / 0.8033 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.6928, allocations: 207.1 kB / 0.8035 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.6933, allocations: 0.4894 MB / 0.804 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.6964, allocations: 1.884 MB / 0.8058 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6964, allocations: 0 / 0.8058 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6964, allocations: 4 kB / 0.8058 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.6964, allocations: 0 / 0.8058 GB, free: 3.379 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.002654/0.6991, allocations: 1.571 MB / 0.8074 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6991, allocations: 12.02 kB / 0.8074 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.7008, allocations: 235.1 kB / 0.8076 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.702, allocations: 0.7914 MB / 0.8084 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002201/0.7022, allocations: 180.7 kB / 0.8086 GB, free: 488 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.7024, allocations: 75.95 kB / 0.8086 GB, free: 412 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.704, allocations: 0.822 MB / 0.8094 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.704, allocations: 0 / 0.8094 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/0.7041, allocations: 32 kB / 0.8095 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.7041, allocations: 16 kB / 0.8095 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.7056, allocations: 0.6519 MB / 0.8101 GB, free: 14.86 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.004094/0.7097, allocations: 3.206 MB / 0.8132 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.7111, allocations: 0.6044 MB / 0.8138 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007163/0.7118, allocations: 358.3 kB / 0.8142 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006366/0.7125, allocations: 0.8991 MB / 0.8151 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.7125, allocations: 39.12 kB / 0.8151 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 2.134e-06/0.7125, allocations: 0 / 0.8151 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.004844/0.7174, allocations: 1.679 MB / 0.8167 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.7174, allocations: 63.97 kB / 0.8168 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/0.7182, allocations: 0.6455 MB / 0.8174 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.7183, allocations: 33.7 kB / 0.8175 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.7186, allocations: 432.7 kB / 0.8179 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.7188, allocations: 214.2 kB / 0.8181 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.719, allocations: 114.2 kB / 0.8182 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7191, allocations: 326 kB / 0.8185 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006171/0.7197, allocations: 253 kB / 0.8187 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.7204, allocations: 264.8 kB / 0.819 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.7216, allocations: 0.5233 MB / 0.8195 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7216, allocations: 0 / 0.8195 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002759/0.7244, allocations: 1.023 MB / 0.8205 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.7244, allocations: 4 kB / 0.8205 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.7244, allocations: 9.312 kB / 0.8205 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008276/0.7253, allocations: 230.4 kB / 0.8207 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007374/0.726, allocations: 139.8 kB / 0.8209 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/0.732, allocations: 5.099 MB / 0.8258 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/0.7327, allocations: 67.59 kB / 0.8259 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.7328, allocations: 44.8 kB / 0.826 GB, free: 13.57 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.0004124/0.7332, allocations: 205.7 kB / 0.8261 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.7334, allocations: 83.44 kB / 0.8262 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003421/0.7368, allocations: 1.409 MB / 0.8276 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.7368, allocations: 4 kB / 0.8276 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.7368, allocations: 7.938 kB / 0.8276 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.7368, allocations: 3.984 kB / 0.8276 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/0.7411, allocations: 2.09 MB / 0.8297 GB, free: 9.641 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7411, allocations: 2.188 kB / 0.8297 GB, free: 9.641 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/0.7419, allocations: 139.8 kB / 0.8298 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000743/0.7426, allocations: 238.4 kB / 0.83 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/0.7427, allocations: 27.97 kB / 0.83 GB, free: 9.234 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005746/0.7484, allocations: 5.105 MB / 0.835 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7485, allocations: 7.938 kB / 0.835 GB, free: 3.699 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/0.7519, allocations: 1.41 MB / 0.8364 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.7523, allocations: 216.4 kB / 0.8366 GB, free: 2.02 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.7524, allocations: 19.88 kB / 0.8366 GB, free: 2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.7529, allocations: 39.95 kB / 0.8367 GB, free: 1.961 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.7531, allocations: 52.5 kB / 0.8367 GB, free: 1.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.7531, allocations: 31.98 kB / 0.8368 GB, free: 1.879 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005979/0.7537, allocations: 475 kB / 0.8372 GB, free: 1.418 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.803e-06/0.7537, allocations: 0 / 0.8372 GB, free: 1.418 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001064/0.7548, allocations: 379 kB / 0.8376 GB, free: 1.047 MB / 0.67 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.0009585/0.7558, allocations: 0.4976 MB / 0.8381 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2924/1.048, allocations: 1.058 MB / 0.8391 GB, free: 227 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.048, allocations: 4.406 kB / 0.8391 GB, free: 227 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/1.05, allocations: 0.802 MB / 0.8399 GB, free: 226.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/1.051, allocations: 201.6 kB / 0.8401 GB, free: 226.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/1.055, allocations: 1.834 MB / 0.8419 GB, free: 226 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/1.056, allocations: 0.9888 MB / 0.8428 GB, free: 225.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009952/1.057, allocations: 454.2 kB / 0.8433 GB, free: 225.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/1.057, allocations: 107.7 kB / 0.8434 GB, free: 225.2 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/1.057, allocations: 0 / 0.8434 GB, free: 225.2 MB / 0.67 GB Notification: Performance of Templates: time 0.03216/1.089, allocations: 15.91 MB / 0.8589 GB, free: 222.6 MB / 0.67 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