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.0009885/0.0009886, allocations: 112.6 kB / 16.37 MB, free: 6 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.0009173/0.0009173, allocations: 196 kB / 17.31 MB, free: 5.613 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.219/1.219, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6522/0.6522, allocations: 89.49 MB / 380.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001455, allocations: 75.88 kB / 459.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1333, allocations: 67.31 MB / 0.5146 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4134/0.5467, allocations: 201.6 MB / 0.7115 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.5623, allocations: 14.75 MB / 0.7259 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007344/0.5631, allocations: 19.88 kB / 0.726 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.5645, allocations: 0.5028 MB / 0.7264 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.5676, allocations: 1.259 MB / 0.7277 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.571, allocations: 1.393 MB / 0.729 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.5727, allocations: 1.215 MB / 0.7302 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/0.5731, allocations: 262 kB / 0.7305 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.5753, allocations: 0.9833 MB / 0.7314 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.5759, allocations: 485.8 kB / 0.7319 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.576, allocations: 80 kB / 0.732 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004782/0.5808, allocations: 2.504 MB / 0.7344 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.581, allocations: 195.2 kB / 0.7346 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.5814, allocations: 465.6 kB / 0.735 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.5843, allocations: 1.737 MB / 0.7367 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5844, allocations: 0 / 0.7367 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5844, allocations: 0 / 0.7367 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.5844, allocations: 0 / 0.7367 GB, free: 3.398 MB / 0.5762 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.00255/0.5869, allocations: 1.383 MB / 0.7381 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.587, allocations: 16.02 kB / 0.7381 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.5887, allocations: 210.7 kB / 0.7383 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008804/0.5896, allocations: 0.5371 MB / 0.7388 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.5898, allocations: 188.7 kB / 0.739 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.5899, allocations: 75.91 kB / 0.7391 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.5914, allocations: 0.8219 MB / 0.7399 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5915, allocations: 0 / 0.7399 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/0.5915, allocations: 34.53 kB / 0.7399 GB, free: 16 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.5916, allocations: 16 kB / 0.7399 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2191/0.8106, allocations: 0.6443 MB / 0.7406 GB, free: 187.4 MB / 0.5762 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.003724/0.8144, allocations: 3.171 MB / 0.7437 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.8155, allocations: 0.5979 MB / 0.7442 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/0.8161, allocations: 358.7 kB / 0.7446 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/0.8165, allocations: 0.8955 MB / 0.7455 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.8166, allocations: 42.75 kB / 0.7455 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.525e-06/0.8166, allocations: 0 / 0.7455 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.004105/0.8207, allocations: 1.66 MB / 0.7471 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.8207, allocations: 59.41 kB / 0.7472 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/0.8212, allocations: 0.4938 MB / 0.7477 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.8213, allocations: 42.98 kB / 0.7477 GB, free: 184 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.8214, allocations: 359.9 kB / 0.748 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.864e-05/0.8215, allocations: 201.7 kB / 0.7482 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.8217, allocations: 114.9 kB / 0.7483 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.8218, allocations: 378.8 kB / 0.7487 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005322/0.8223, allocations: 254 kB / 0.749 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/0.8229, allocations: 261.2 kB / 0.7492 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.824, allocations: 0.5254 MB / 0.7497 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.824, allocations: 0 / 0.7497 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002311/0.8263, allocations: 0.9905 MB / 0.7507 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8264, allocations: 7.062 kB / 0.7507 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8264, allocations: 3.219 kB / 0.7507 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006954/0.8271, allocations: 230.8 kB / 0.7509 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/0.8278, allocations: 149.4 kB / 0.7511 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/0.8321, allocations: 5.091 MB / 0.756 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.8326, allocations: 69.52 kB / 0.7561 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/0.8327, allocations: 37.75 kB / 0.7561 GB, free: 179.2 MB / 0.5762 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.000267/0.833, allocations: 189 kB / 0.7563 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.8331, allocations: 64.84 kB / 0.7564 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/0.8361, allocations: 1.409 MB / 0.7577 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.8361, allocations: 10.34 kB / 0.7578 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8361, allocations: 0 / 0.7578 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.8361, allocations: 6.328 kB / 0.7578 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/0.8397, allocations: 2.039 MB / 0.7598 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.8398, allocations: 6.625 kB / 0.7598 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006608/0.8404, allocations: 136.2 kB / 0.7599 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006049/0.841, allocations: 240.2 kB / 0.7601 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.8411, allocations: 20.3 kB / 0.7601 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004268/0.8454, allocations: 5.106 MB / 0.7651 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8454, allocations: 3.844 kB / 0.7651 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/0.8484, allocations: 1.39 MB / 0.7665 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.8487, allocations: 196 kB / 0.7667 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.8489, allocations: 20.56 kB / 0.7667 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.8493, allocations: 36.86 kB / 0.7667 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.8495, allocations: 57.92 kB / 0.7668 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/0.8496, allocations: 31.17 kB / 0.7668 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003996/0.85, allocations: 378.3 kB / 0.7672 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.85, allocations: 0 / 0.7672 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001148/0.8511, allocations: 360.7 kB / 0.7675 GB, free: 173.8 MB / 0.5762 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.001033/0.8522, allocations: 0.4942 MB / 0.768 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.8542, allocations: 1.066 MB / 0.769 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.8542, allocations: 1.375 kB / 0.769 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.8556, allocations: 0.7942 MB / 0.7698 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008521/0.8564, allocations: 193.2 kB / 0.77 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.859, allocations: 1.623 MB / 0.7716 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.8593, allocations: 0.9381 MB / 0.7725 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008861/0.8602, allocations: 435.9 kB / 0.7729 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.8605, allocations: 100.8 kB / 0.773 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.8605, allocations: 0 / 0.773 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02659/0.8871, allocations: 15.43 MB / 0.7881 GB, free: 167.9 MB / 0.5762 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches