Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.001835/0.001835, 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.002013/0.002013, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.459/1.459, 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.7266/0.7266, allocations: 91.21 MB / 381.6 MB, free: 9.414 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 76.86 kB / 460.4 MB, free: 23.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1476, allocations: 67.69 MB / 0.5157 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5943/0.7419, allocations: 234.9 MB / 0.7452 GB, free: 4.266 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02846/0.7704, allocations: 22.27 MB / 0.7669 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.7722, allocations: 55.62 kB / 0.767 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.775, allocations: 0.7994 MB / 0.7678 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006279/0.7813, allocations: 2.013 MB / 0.7697 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00655/0.7879, allocations: 2.167 MB / 0.7718 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003481/0.7914, allocations: 2.177 MB / 0.774 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008123/0.7922, allocations: 409.4 kB / 0.7744 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.7952, allocations: 1.362 MB / 0.7757 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.7965, allocations: 0.8358 MB / 0.7765 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003948/0.7969, allocations: 140 kB / 0.7766 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009224/0.8062, allocations: 4.037 MB / 0.7806 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005188/0.8067, allocations: 338.7 kB / 0.7809 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.8082, allocations: 0.8158 MB / 0.7817 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007724/0.816, allocations: 2.949 MB / 0.7846 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.816, allocations: 0 / 0.7846 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.442e-06/0.816, allocations: 0 / 0.7846 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.93e-05/0.8161, allocations: 0 / 0.7846 GB, free: 11.76 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.00605/0.8222, allocations: 2.292 MB / 0.7868 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.8222, allocations: 11.97 kB / 0.7868 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002723/0.8225, allocations: 193.9 kB / 0.787 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/0.8258, allocations: 414.3 kB / 0.7874 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.8277, allocations: 0.9847 MB / 0.7884 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/0.8281, allocations: 352 kB / 0.7887 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/0.8284, allocations: 131.9 kB / 0.7888 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/0.8315, allocations: 1.45 MB / 0.7902 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.8316, allocations: 0 / 0.7902 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.8317, allocations: 52 kB / 0.7903 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.8318, allocations: 28 kB / 0.7903 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002929/0.8347, allocations: 1.188 MB / 0.7915 GB, free: 4.457 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.008109/0.8428, allocations: 5.489 MB / 0.7968 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003219/0.8461, allocations: 1.314 MB / 0.7981 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.8476, allocations: 0.7066 MB / 0.7988 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.849, allocations: 1.798 MB / 0.8006 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.8491, allocations: 51.48 kB / 0.8006 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=113): time 3.066e-06/0.8491, allocations: 0 / 0.8006 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113): time 0.009655/0.8587, allocations: 3.036 MB / 0.8036 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.8588, allocations: 68.39 kB / 0.8036 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.8601, allocations: 0.8716 MB / 0.8045 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.8603, allocations: 49.7 kB / 0.8045 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.8607, allocations: 0.6142 MB / 0.8051 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/0.8611, allocations: 386.3 kB / 0.8055 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/0.8614, allocations: 206.8 kB / 0.8057 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8616, allocations: 345.9 kB / 0.806 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.8629, allocations: 0.4905 MB / 0.8065 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.8642, allocations: 0.5879 MB / 0.8071 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/0.8668, allocations: 1.054 MB / 0.8081 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8669, allocations: 0 / 0.8081 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005511/0.8724, allocations: 1.912 MB / 0.81 GB, free: 452 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.8724, allocations: 6.031 kB / 0.81 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.8724, allocations: 7.5 kB / 0.81 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.8739, allocations: 411.1 kB / 0.8104 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.8755, allocations: 303.5 kB / 0.8107 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.8856, allocations: 7.419 MB / 0.8179 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.8869, allocations: 135 kB / 0.8181 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.8872, allocations: 71.97 kB / 0.8181 GB, free: 7.539 MB / 0.6231 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006189/0.8878, allocations: 269.5 kB / 0.8184 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.8882, allocations: 126.4 kB / 0.8185 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007364/0.8956, allocations: 2.721 MB / 0.8212 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.8956, allocations: 12 kB / 0.8212 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.8956, allocations: 8.062 kB / 0.8212 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/0.8957, allocations: 11.91 kB / 0.8212 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008301/0.904, allocations: 3.588 MB / 0.8247 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.904, allocations: 4 kB / 0.8247 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.9057, allocations: 287.8 kB / 0.825 GB, free: 400 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2879/1.194, allocations: 423.7 kB / 0.8254 GB, free: 242.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003409/1.194, allocations: 45.56 kB / 0.8254 GB, free: 242.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009542/1.204, allocations: 7.415 MB / 0.8327 GB, free: 236.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.204, allocations: 1.719 kB / 0.8327 GB, free: 236.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007249/1.211, allocations: 2.608 MB / 0.8352 GB, free: 236.1 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005203/1.211, allocations: 314 kB / 0.8355 GB, free: 236 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/1.212, allocations: 25.25 kB / 0.8355 GB, free: 235.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008928/1.212, allocations: 73.36 kB / 0.8356 GB, free: 235.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/1.213, allocations: 103 kB / 0.8357 GB, free: 235.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.213, allocations: 73.53 kB / 0.8358 GB, free: 235.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008595/1.214, allocations: 0.602 MB / 0.8364 GB, free: 235.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/1.214, allocations: 0 / 0.8364 GB, free: 235.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001719/1.216, allocations: 0.6026 MB / 0.837 GB, free: 235.5 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (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.007747/1.223, allocations: 3.742 MB / 0.8406 GB, free: 234 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005258/1.229, allocations: 1.938 MB / 0.8425 GB, free: 233.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/1.229, allocations: 4.984 kB / 0.8425 GB, free: 233.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002948/1.232, allocations: 1.368 MB / 0.8438 GB, free: 232.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/1.233, allocations: 309.8 kB / 0.8441 GB, free: 232.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/1.258, allocations: 11.83 MB / 0.8557 GB, free: 226.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/1.258, allocations: 1.195 MB / 0.8569 GB, free: 225.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002309/1.261, allocations: 0.8435 MB / 0.8577 GB, free: 225.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009991/1.262, allocations: 0.6605 MB / 0.8583 GB, free: 225.2 MB / 0.6231 GB Notification: Performance of SimCode: time 1.733e-06/1.262, allocations: 1.094 kB / 0.8583 GB, free: 225.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09437/1.356, allocations: 37.83 MB / 0.8953 GB, free: 194.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/16.63, allocations: 5.969 kB / 0.8953 GB, free: 194.7 MB / 0.6231 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches