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.00809/0.00809, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001815/0.001815, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7695/0.7695, allocations: 91.19 MB / 381.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 75.88 kB / 0.5168 GB, free: 4.113 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3548, allocations: 67.69 MB / 0.5829 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.7991/1.154, allocations: 201.8 MB / 0.78 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01376/1.168, allocations: 15.03 MB / 0.7947 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/1.169, allocations: 43.56 kB / 0.7948 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/1.17, allocations: 0.5194 MB / 0.7953 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003255/1.173, allocations: 1.307 MB / 0.7965 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003469/1.177, allocations: 1.473 MB / 0.798 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001512/1.178, allocations: 1.358 MB / 0.7993 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/1.179, allocations: 266 kB / 0.7996 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/1.181, allocations: 1.068 MB / 0.8006 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004469/1.181, allocations: 0.5002 MB / 0.8011 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/1.181, allocations: 80.41 kB / 0.8012 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004406/1.186, allocations: 2.619 MB / 0.8037 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/1.186, allocations: 204 kB / 0.8039 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003748/1.186, allocations: 0.498 MB / 0.8044 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003051/1.189, allocations: 1.945 MB / 0.8063 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.189, allocations: 1.453 kB / 0.8063 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.924e-06/1.189, allocations: 3.188 kB / 0.8063 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.402e-05/1.189, allocations: 0 / 0.8063 GB, free: 15.95 MB / 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.00273/1.192, allocations: 1.544 MB / 0.8078 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/1.192, allocations: 14.69 kB / 0.8078 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/1.194, allocations: 237.5 kB / 0.8081 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/1.195, allocations: 0.7706 MB / 0.8088 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/1.195, allocations: 186.4 kB / 0.809 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/1.196, allocations: 71.5 kB / 0.8091 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/1.197, allocations: 0.8286 MB / 0.8099 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/1.197, allocations: 0 / 0.8099 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/1.197, allocations: 32.56 kB / 0.8099 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/1.197, allocations: 16.47 kB / 0.8099 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/1.198, allocations: 0.6546 MB / 0.8106 GB, free: 14.5 MB / 0.5919 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.00447/1.203, allocations: 3.175 MB / 0.8137 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/1.204, allocations: 0.599 MB / 0.8142 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000727/1.205, allocations: 349.5 kB / 0.8146 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006484/1.206, allocations: 0.897 MB / 0.8154 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/1.206, allocations: 38.06 kB / 0.8155 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.364e-06/1.206, allocations: 0 / 0.8155 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.004653/1.211, allocations: 1.684 MB / 0.8171 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/1.211, allocations: 61.34 kB / 0.8172 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008512/1.211, allocations: 0.6638 MB / 0.8178 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/1.212, allocations: 36.39 kB / 0.8179 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/1.212, allocations: 439.2 kB / 0.8183 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/1.212, allocations: 199 kB / 0.8185 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/1.212, allocations: 116.5 kB / 0.8186 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.212, allocations: 329.7 kB / 0.8189 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/1.213, allocations: 261 kB / 0.8192 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/1.214, allocations: 314 kB / 0.8195 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/1.215, allocations: 0.5395 MB / 0.82 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.215, allocations: 0 / 0.82 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002751/1.218, allocations: 1.033 MB / 0.821 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.218, allocations: 5.062 kB / 0.821 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.218, allocations: 7.406 kB / 0.821 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007709/1.218, allocations: 229.8 kB / 0.8212 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/1.219, allocations: 149.7 kB / 0.8214 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00581/1.225, allocations: 5.091 MB / 0.8263 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/1.226, allocations: 73.69 kB / 0.8264 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/1.226, allocations: 37.98 kB / 0.8264 GB, free: 3.078 MB / 0.5919 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.0004443/1.226, allocations: 211.7 kB / 0.8266 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.226, allocations: 84.88 kB / 0.8267 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/1.23, allocations: 1.407 MB / 0.8281 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.23, allocations: 7.938 kB / 0.8281 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.23, allocations: 4 kB / 0.8281 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.23, allocations: 0 / 0.8281 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/1.234, allocations: 2.073 MB / 0.8301 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.234, allocations: 0 / 0.8301 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007528/1.235, allocations: 139.1 kB / 0.8303 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007139/1.236, allocations: 233.4 kB / 0.8305 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/1.236, allocations: 31.92 kB / 0.8305 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005706/1.242, allocations: 5.102 MB / 0.8355 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.242, allocations: 4 kB / 0.8355 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003441/1.245, allocations: 1.395 MB / 0.8369 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/1.245, allocations: 211.9 kB / 0.8371 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/1.246, allocations: 15.94 kB / 0.8371 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005168/1.246, allocations: 43.95 kB / 0.8371 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/1.246, allocations: 55.5 kB / 0.8372 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.411e-05/1.246, allocations: 31.98 kB / 0.8372 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006169/1.247, allocations: 483 kB / 0.8377 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/1.247, allocations: 0 / 0.8377 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001232/1.248, allocations: 391.3 kB / 0.838 GB, free: 7.113 MB / 0.6075 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.001001/1.249, allocations: 0.5196 MB / 0.8386 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002406/1.252, allocations: 1.07 MB / 0.8396 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.252, allocations: 0 / 0.8396 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/1.253, allocations: 0.7999 MB / 0.8404 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/1.254, allocations: 211.3 kB / 0.8406 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/1.258, allocations: 1.789 MB / 0.8423 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/1.258, allocations: 0.9893 MB / 0.8433 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009407/1.259, allocations: 456.4 kB / 0.8437 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/1.259, allocations: 103.4 kB / 0.8438 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/1.259, allocations: 0 / 0.8438 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of Templates: time 0.02799/1.287, allocations: 16.57 MB / 0.86 GB, free: 0.75 MB / 0.6231 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