Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 108 kB / 15.61 MB, free: 152 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.001456/0.001456, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.609/0.609, allocations: 91.2 MB / 381.6 MB, free: 9.391 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 77.22 kB / 460.4 MB, free: 23.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1231, allocations: 67.7 MB / 0.5157 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.5705/0.6936, allocations: 307.7 MB / 0.8162 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.3942/1.088, allocations: 37.94 MB / 0.8533 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/1.091, allocations: 93.47 kB / 0.8534 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003505/1.094, allocations: 1.404 MB / 0.8548 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009318/1.104, allocations: 3.327 MB / 0.858 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009342/1.113, allocations: 3.43 MB / 0.8614 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005452/1.119, allocations: 3.718 MB / 0.865 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/1.12, allocations: 0.8298 MB / 0.8658 GB, free: 16.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004162/1.124, allocations: 2.311 MB / 0.8681 GB, free: 16.46 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/1.126, allocations: 1.472 MB / 0.8695 GB, free: 16.29 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003265/1.126, allocations: 231.9 kB / 0.8697 GB, free: 16.29 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/1.139, allocations: 6.651 MB / 0.8762 GB, free: 16.17 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000617/1.14, allocations: 0.5776 MB / 0.8768 GB, free: 16.06 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001828/1.142, allocations: 1.394 MB / 0.8781 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009639/1.151, allocations: 4.897 MB / 0.8829 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.151, allocations: 2.594 kB / 0.8829 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.994e-06/1.151, allocations: 1.031 kB / 0.8829 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.048e-05/1.152, allocations: 0 / 0.8829 GB, free: 14.9 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.007229/1.159, allocations: 3.614 MB / 0.8864 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.159, allocations: 10.59 kB / 0.8865 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003335/1.159, allocations: 291.6 kB / 0.8867 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/1.163, allocations: 0.6051 MB / 0.8873 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/1.166, allocations: 1.588 MB / 0.8889 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000406/1.166, allocations: 406.1 kB / 0.8893 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/1.167, allocations: 216.7 kB / 0.8895 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/1.171, allocations: 2.319 MB / 0.8917 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/1.171, allocations: 3.938 kB / 0.8917 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/1.171, allocations: 85.25 kB / 0.8918 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-05/1.171, allocations: 77.7 kB / 0.8919 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003882/1.175, allocations: 1.88 MB / 0.8937 GB, free: 12.05 MB / 0.6387 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.01139/1.187, allocations: 9.323 MB / 0.9028 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/1.191, allocations: 1.964 MB / 0.9048 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/1.193, allocations: 1.058 MB / 0.9058 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001726/1.195, allocations: 2.612 MB / 0.9083 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/1.195, allocations: 50.7 kB / 0.9084 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 4.158e-06/1.195, allocations: 3.938 kB / 0.9084 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.01676/1.212, allocations: 6.642 MB / 0.9149 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/1.212, allocations: 75.34 kB / 0.915 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/1.214, allocations: 1.498 MB / 0.9164 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001425/1.214, allocations: 59.2 kB / 0.9165 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007048/1.215, allocations: 1.031 MB / 0.9175 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/1.215, allocations: 0.5947 MB / 0.9181 GB, free: 212 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000552/1.216, allocations: 322.5 kB / 0.9184 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.79e-05/1.216, allocations: 303.7 kB / 0.9187 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/1.217, allocations: 0.6989 MB / 0.9193 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/1.219, allocations: 0.8478 MB / 0.9202 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003468/1.223, allocations: 1.579 MB / 0.9217 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.223, allocations: 4 kB / 0.9217 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007008/1.23, allocations: 2.719 MB / 0.9244 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.23, allocations: 4 kB / 0.9244 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.23, allocations: 4 kB / 0.9244 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/1.232, allocations: 0.567 MB / 0.9249 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.234, allocations: 433.9 kB / 0.9253 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/1.247, allocations: 10.14 MB / 0.9352 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.248, allocations: 85.03 kB / 0.9353 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/1.249, allocations: 124.2 kB / 0.9354 GB, free: 1.016 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (168): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,1,88.9%), (2,17,100.0%), (3,1,88.9%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009542/1.25, allocations: 376.3 kB / 0.9358 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005516/1.25, allocations: 213.3 kB / 0.936 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009891/1.26, allocations: 4.09 MB / 0.94 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/1.26, allocations: 19.94 kB / 0.94 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.88e-05/1.26, allocations: 8 kB / 0.94 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/1.26, allocations: 7.969 kB / 0.94 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/1.272, allocations: 5.284 MB / 0.9452 GB, free: 8.059 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.272, allocations: 0 / 0.9452 GB, free: 8.059 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/1.274, allocations: 411.3 kB / 0.9456 GB, free: 7.672 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/1.276, allocations: 0.5798 MB / 0.9462 GB, free: 7.082 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/1.277, allocations: 75.95 kB / 0.9462 GB, free: 7.008 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/1.29, allocations: 10.13 MB / 0.9561 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.29, allocations: 4.094 kB / 0.9561 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009472/1.299, allocations: 3.751 MB / 0.9598 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.3, allocations: 430.1 kB / 0.9602 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005419/1.301, allocations: 43.98 kB / 0.9602 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/1.302, allocations: 87.88 kB / 0.9603 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003524/1.303, allocations: 164.2 kB / 0.9605 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.303, allocations: 111.9 kB / 0.9606 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001769/1.305, allocations: 1.018 MB / 0.9616 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.21e-07/1.305, allocations: 0 / 0.9616 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003617/1.308, allocations: 0.8785 MB / 0.9624 GB, free: 5.695 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.dp_int) * 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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01192/1.32, allocations: 5.256 MB / 0.9676 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008255/1.329, allocations: 2.847 MB / 0.9704 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.329, allocations: 4.125 kB / 0.9704 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004029/1.333, allocations: 1.906 MB / 0.9722 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/1.336, allocations: 0.5811 MB / 0.9728 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03733/1.373, allocations: 19.28 MB / 0.9916 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/1.375, allocations: 1.57 MB / 0.9931 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003866/1.379, allocations: 1.438 MB / 0.9946 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/1.381, allocations: 1.167 MB / 0.9957 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/1.381, allocations: 0 / 0.9957 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.015/8.396, allocations: 63.58 MB / 1.058 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.47/23.87, allocations: 12.05 kB / 1.058 GB, free: 3.418 MB / 0.7794 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches