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.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.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",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.001422/0.001422, allocations: 108 kB / 15.6 MB, free: 132 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.001568/0.001569, allocations: 195.5 kB / 16.54 MB, free: 6.672 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.799/0.799, allocations: 91.2 MB / 381.6 MB, free: 9.379 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002209/0.00221, allocations: 81.16 kB / 460.4 MB, free: 23.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1788, allocations: 67.7 MB / 0.5157 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.6104/0.7892, allocations: 214.3 MB / 0.725 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01905/0.8083, allocations: 17.38 MB / 0.742 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.8094, allocations: 47.69 kB / 0.742 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.8111, allocations: 0.617 MB / 0.7426 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0042/0.8154, allocations: 1.718 MB / 0.7443 GB, free: 5.078 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.8197, allocations: 1.659 MB / 0.7459 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.8213, allocations: 1.654 MB / 0.7476 GB, free: 1.754 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004427/0.8218, allocations: 297 kB / 0.7478 GB, free: 1.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.8238, allocations: 1.16 MB / 0.749 GB, free: 296 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/0.8244, allocations: 0.6258 MB / 0.7496 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.8246, allocations: 96 kB / 0.7497 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00605/0.8306, allocations: 3.378 MB / 0.753 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.8309, allocations: 250.9 kB / 0.7532 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005672/0.8315, allocations: 0.6137 MB / 0.7538 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003579/0.8351, allocations: 2.298 MB / 0.7561 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.8351, allocations: 8 kB / 0.7561 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8351, allocations: 0 / 0.7561 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.8351, allocations: 0 / 0.7561 GB, free: 9.008 MB / 0.5606 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.003358/0.8385, allocations: 1.807 MB / 0.7578 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8386, allocations: 8.031 kB / 0.7578 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.8387, allocations: 151.5 kB / 0.758 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.8406, allocations: 294 kB / 0.7583 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.8418, allocations: 0.8078 MB / 0.759 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.842, allocations: 200.7 kB / 0.7592 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.8422, allocations: 92 kB / 0.7593 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.8439, allocations: 1.001 MB / 0.7603 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.8439, allocations: 0 / 0.7603 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.869e-05/0.844, allocations: 43.98 kB / 0.7603 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.844, allocations: 20 kB / 0.7604 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.8456, allocations: 0.7846 MB / 0.7611 GB, free: 3.66 MB / 0.5606 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.004512/0.8502, allocations: 4.116 MB / 0.7652 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.8519, allocations: 0.8562 MB / 0.766 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000727/0.8526, allocations: 431.3 kB / 0.7664 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007009/0.8533, allocations: 1.303 MB / 0.7677 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.8534, allocations: 39.22 kB / 0.7677 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 1.833e-06/0.8534, allocations: 4 kB / 0.7677 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.004847/0.8582, allocations: 1.919 MB / 0.7696 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.8583, allocations: 64 kB / 0.7696 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.859, allocations: 0.7692 MB / 0.7704 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.8591, allocations: 41.7 kB / 0.7704 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.8594, allocations: 496.1 kB / 0.7709 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.8596, allocations: 272 kB / 0.7712 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.8598, allocations: 150.6 kB / 0.7713 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.8599, allocations: 345.9 kB / 0.7716 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000649/0.8606, allocations: 305.8 kB / 0.7719 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.8613, allocations: 387.1 kB / 0.7723 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.8627, allocations: 0.6862 MB / 0.773 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8627, allocations: 0 / 0.773 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002908/0.8656, allocations: 1.232 MB / 0.7742 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.8656, allocations: 8.062 kB / 0.7742 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.8656, allocations: 4 kB / 0.7742 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007733/0.8664, allocations: 242.3 kB / 0.7744 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008874/0.8673, allocations: 203.8 kB / 0.7746 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005306/0.8726, allocations: 5.239 MB / 0.7797 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.8732, allocations: 91.28 kB / 0.7798 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.004e-05/0.8733, allocations: 51.98 kB / 0.7799 GB, free: 15.2 MB / 0.5919 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.0003059/0.8736, allocations: 225.6 kB / 0.7801 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.8738, allocations: 102.8 kB / 0.7802 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.8777, allocations: 1.831 MB / 0.782 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.8778, allocations: 11.94 kB / 0.782 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8778, allocations: 4 kB / 0.782 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.8778, allocations: 7.922 kB / 0.782 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/0.8821, allocations: 2.48 MB / 0.7844 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.8821, allocations: 0 / 0.7844 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000919/0.883, allocations: 199.9 kB / 0.7846 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006984/0.8838, allocations: 254.3 kB / 0.7848 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.038e-05/0.8838, allocations: 39.97 kB / 0.7849 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005299/0.8891, allocations: 5.23 MB / 0.79 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8892, allocations: 8.094 kB / 0.79 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/0.8927, allocations: 1.72 MB / 0.7917 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.893, allocations: 251.6 kB / 0.7919 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.8931, allocations: 27.98 kB / 0.7919 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.8937, allocations: 35.97 kB / 0.792 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.8938, allocations: 72.84 kB / 0.7921 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.633e-05/0.8939, allocations: 51.98 kB / 0.7921 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005827/0.8945, allocations: 0.5394 MB / 0.7926 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8945, allocations: 3.938 kB / 0.7926 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001058/0.8955, allocations: 475.1 kB / 0.7931 GB, free: 1.023 MB / 0.5919 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.004735/0.9003, allocations: 2.754 MB / 0.7958 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002703/0.903, allocations: 1.278 MB / 0.797 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.903, allocations: 0 / 0.797 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.9046, allocations: 0.904 MB / 0.7979 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.9057, allocations: 266.6 kB / 0.7982 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.9195, allocations: 8.901 MB / 0.8068 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.9201, allocations: 1.068 MB / 0.8079 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00137/0.9215, allocations: 0.635 MB / 0.8085 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007401/0.9223, allocations: 0.5031 MB / 0.809 GB, free: 240 kB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.9223, allocations: 0 / 0.809 GB, free: 240 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.405/4.327, allocations: 30.03 MB / 0.8383 GB, free: 241 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/19.45, allocations: 4 kB / 0.8383 GB, free: 241 MB / 0.6231 GB (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 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) 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) Reference file matches