Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 215.9 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.803/0.803, allocations: 94.61 MB / 407.8 MB, free: 8.863 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003755/0.003755, allocations: 82.83 kB / 0.5557 GB, free: 38.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1635, allocations: 73.05 MB / 0.627 GB, free: 180 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.6197/0.7832, allocations: 187.1 MB / 0.8097 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.802, allocations: 15.82 MB / 0.8252 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.8037, allocations: 70.84 kB / 0.8252 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.8057, allocations: 0.5527 MB / 0.8258 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005658/0.8113, allocations: 1.785 MB / 0.8275 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005097/0.8164, allocations: 1.69 MB / 0.8292 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002982/0.8194, allocations: 1.729 MB / 0.8309 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/0.8199, allocations: 187.8 kB / 0.831 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003148/0.8231, allocations: 1.258 MB / 0.8323 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.8241, allocations: 0.6444 MB / 0.8329 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.8243, allocations: 95.31 kB / 0.833 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006635/0.8309, allocations: 3.367 MB / 0.8363 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004109/0.8313, allocations: 248.4 kB / 0.8365 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008585/0.8322, allocations: 0.5072 MB / 0.837 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005891/0.838, allocations: 2.369 MB / 0.8393 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8381, allocations: 0 / 0.8393 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8381, allocations: 0 / 0.8393 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.922e-05/0.8381, allocations: 0 / 0.8393 GB, free: 8.945 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.004288/0.8424, allocations: 1.829 MB / 0.8411 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.8424, allocations: 15.5 kB / 0.8411 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.903e-05/0.8425, allocations: 24.19 kB / 0.8411 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.8426, allocations: 135.6 kB / 0.8413 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.8449, allocations: 305 kB / 0.8416 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.8469, allocations: 0.8364 MB / 0.8424 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/0.8472, allocations: 280.4 kB / 0.8426 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.8474, allocations: 93.5 kB / 0.8427 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.8494, allocations: 1.01 MB / 0.8437 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.8494, allocations: 2.438 kB / 0.8437 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.8495, allocations: 36.53 kB / 0.8438 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.8496, allocations: 26.59 kB / 0.8438 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.8512, allocations: 0.7812 MB / 0.8445 GB, free: 5.422 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.005161/0.8564, allocations: 2.752 MB / 0.8472 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.8583, allocations: 0.8022 MB / 0.848 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007551/0.8591, allocations: 400.3 kB / 0.8484 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.8594, allocations: 111.2 kB / 0.8485 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.8594, allocations: 44.47 kB / 0.8485 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.925e-06/0.8594, allocations: 0 / 0.8485 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005227/0.8647, allocations: 1.702 MB / 0.8502 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.8647, allocations: 61.16 kB / 0.8503 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.8658, allocations: 0.797 MB / 0.851 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.8659, allocations: 40.39 kB / 0.8511 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004927/0.8664, allocations: 0.52 MB / 0.8516 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.8667, allocations: 284 kB / 0.8519 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.867, allocations: 149.3 kB / 0.852 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.8672, allocations: 344 kB / 0.8523 GB, free: 180 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007849/0.868, allocations: 311.7 kB / 0.8526 GB, free: 36 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.8688, allocations: 385.8 kB / 0.853 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.8704, allocations: 0.6889 MB / 0.8537 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.8704, allocations: 0 / 0.8537 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003493/0.8739, allocations: 1.234 MB / 0.8549 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.8739, allocations: 8 kB / 0.8549 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.8739, allocations: 4.062 kB / 0.8549 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008892/0.8748, allocations: 244.9 kB / 0.8551 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009747/0.8758, allocations: 199.6 kB / 0.8553 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00679/0.8826, allocations: 4.907 MB / 0.8601 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000918/0.8835, allocations: 95.48 kB / 0.8602 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.8836, allocations: 53.23 kB / 0.8602 GB, free: 8.242 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005386/0.8842, allocations: 223.9 kB / 0.8605 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.8844, allocations: 111.3 kB / 0.8606 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/0.8889, allocations: 1.823 MB / 0.8623 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.8889, allocations: 14.53 kB / 0.8624 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.8889, allocations: 0 / 0.8624 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.8889, allocations: 7.922 kB / 0.8624 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005197/0.8941, allocations: 2.285 MB / 0.8646 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8942, allocations: 4.156 kB / 0.8646 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.8952, allocations: 192.3 kB / 0.8648 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008118/0.896, allocations: 254.2 kB / 0.865 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-05/0.8961, allocations: 40.34 kB / 0.8651 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006455/0.9025, allocations: 4.889 MB / 0.8698 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9025, allocations: 4.125 kB / 0.8698 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004188/0.9067, allocations: 1.735 MB / 0.8715 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/0.9072, allocations: 186.9 kB / 0.8717 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.9074, allocations: 24 kB / 0.8717 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/0.908, allocations: 35.97 kB / 0.8718 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.9082, allocations: 83.56 kB / 0.8719 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.9083, allocations: 43.98 kB / 0.8719 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007864/0.9091, allocations: 0.5605 MB / 0.8724 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9091, allocations: 0 / 0.8724 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001484/0.9105, allocations: 478.9 kB / 0.8729 GB, free: 10.86 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.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 (78): * Single equations (assignments): 75 * 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 {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00552/0.9161, allocations: 2.746 MB / 0.8756 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002926/0.919, allocations: 1.202 MB / 0.8768 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.919, allocations: 0 / 0.8768 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.9208, allocations: 0.8864 MB / 0.8776 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.9223, allocations: 270.4 kB / 0.8779 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/0.9388, allocations: 8.627 MB / 0.8863 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.9394, allocations: 0.4952 MB / 0.8868 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001423/0.9408, allocations: 0.6312 MB / 0.8874 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009569/0.9418, allocations: 0.5226 MB / 0.8879 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of SimCode: time 8.31e-07/0.9418, allocations: 0 / 0.8879 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08159/1.023, allocations: 32.74 MB / 0.9199 GB, free: 10.93 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.31, allocations: 3.984 kB / 0.9199 GB, free: 10.93 MB / 0.67 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.19997705204878]