Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",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.006697/0.006697, allocations: 103 kB / 15.73 MB, free: 6.062 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.001344/0.001344, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7793/0.7793, allocations: 91.18 MB / 381.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 83.88 kB / 0.5164 GB, free: 4.609 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3718, allocations: 67.68 MB / 0.5825 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.609/0.9809, allocations: 201.8 MB / 0.7796 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.9959, allocations: 15.03 MB / 0.7942 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.9974, allocations: 39.75 kB / 0.7943 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.9989, allocations: 0.5235 MB / 0.7948 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003963/1.003, allocations: 1.306 MB / 0.7961 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003868/1.007, allocations: 1.469 MB / 0.7975 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002289/1.009, allocations: 1.35 MB / 0.7988 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005326/1.01, allocations: 271.2 kB / 0.7991 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/1.013, allocations: 1.073 MB / 0.8001 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007125/1.013, allocations: 0.5042 MB / 0.8006 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/1.013, allocations: 76.66 kB / 0.8007 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005724/1.019, allocations: 2.616 MB / 0.8032 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002406/1.019, allocations: 200.5 kB / 0.8034 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007043/1.02, allocations: 0.5034 MB / 0.8039 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004438/1.025, allocations: 1.948 MB / 0.8058 GB, free: 4 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.025, allocations: 0 / 0.8058 GB, free: 4 kB / 0.5762 GB Notification: Performance of FrontEnd: time 3.286e-06/1.025, allocations: 0 / 0.8058 GB, free: 4 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.766e-05/1.025, allocations: 2.656 kB / 0.8058 GB, free: 4 kB / 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.002947/1.028, allocations: 1.543 MB / 0.8073 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.028, allocations: 12.02 kB / 0.8073 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/1.028, allocations: 123.8 kB / 0.8075 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/1.029, allocations: 242.7 kB / 0.8077 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/1.031, allocations: 0.7702 MB / 0.8084 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/1.031, allocations: 181.3 kB / 0.8086 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/1.031, allocations: 72.53 kB / 0.8087 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/1.032, allocations: 0.8312 MB / 0.8095 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/1.033, allocations: 0 / 0.8095 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/1.033, allocations: 28 kB / 0.8095 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/1.033, allocations: 16.31 kB / 0.8095 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/1.034, allocations: 0.6579 MB / 0.8102 GB, free: 14.5 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.004063/1.038, allocations: 3.173 MB / 0.8133 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/1.039, allocations: 0.6008 MB / 0.8139 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/1.04, allocations: 348.9 kB / 0.8142 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/1.041, allocations: 0.8985 MB / 0.8151 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/1.041, allocations: 38.72 kB / 0.8151 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.144e-06/1.041, allocations: 0 / 0.8151 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.004534/1.045, allocations: 1.693 MB / 0.8168 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.045, allocations: 61.03 kB / 0.8168 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008923/1.046, allocations: 0.6637 MB / 0.8175 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.16e-05/1.046, allocations: 37.08 kB / 0.8175 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/1.047, allocations: 434.8 kB / 0.8179 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/1.047, allocations: 198.2 kB / 0.8181 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/1.047, allocations: 115.8 kB / 0.8182 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.047, allocations: 327.3 kB / 0.8185 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/1.048, allocations: 261.5 kB / 0.8188 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/1.048, allocations: 305.4 kB / 0.8191 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/1.05, allocations: 0.5434 MB / 0.8196 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.05, allocations: 0 / 0.8196 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002616/1.052, allocations: 1.034 MB / 0.8206 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.052, allocations: 5.531 kB / 0.8206 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.052, allocations: 4 kB / 0.8206 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007523/1.053, allocations: 230.8 kB / 0.8209 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/1.054, allocations: 146.7 kB / 0.821 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00597/1.06, allocations: 5.1 MB / 0.826 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008119/1.061, allocations: 69.7 kB / 0.826 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.292e-05/1.061, allocations: 41.48 kB / 0.8261 GB, free: 3.047 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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.0004368/1.061, allocations: 213 kB / 0.8263 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/1.061, allocations: 88.11 kB / 0.8264 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003496/1.065, allocations: 1.399 MB / 0.8277 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.065, allocations: 11.94 kB / 0.8277 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.065, allocations: 4 kB / 0.8277 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/1.065, allocations: 3.984 kB / 0.8278 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004233/1.069, allocations: 2.069 MB / 0.8298 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.069, allocations: 0 / 0.8298 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007464/1.07, allocations: 138.3 kB / 0.8299 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000692/1.071, allocations: 238.3 kB / 0.8301 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.441e-05/1.071, allocations: 35.02 kB / 0.8302 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005371/1.076, allocations: 5.092 MB / 0.8351 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.076, allocations: 7.938 kB / 0.8351 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/1.08, allocations: 1.399 MB / 0.8365 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/1.08, allocations: 215.8 kB / 0.8367 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.08, allocations: 15.91 kB / 0.8367 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/1.081, allocations: 35.97 kB / 0.8368 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.081, allocations: 56.36 kB / 0.8368 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-05/1.081, allocations: 31.98 kB / 0.8369 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005943/1.081, allocations: 486.1 kB / 0.8373 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/1.081, allocations: 0 / 0.8373 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001229/1.083, allocations: 383.4 kB / 0.8377 GB, free: 7.086 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.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 (50): * Single equations (assignments): 47 * 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.004514/1.087, allocations: 2.369 MB / 0.84 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002289/1.089, allocations: 1.066 MB / 0.841 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.089, allocations: 0 / 0.841 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/1.091, allocations: 0.8025 MB / 0.8418 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/1.092, allocations: 212.4 kB / 0.842 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/1.106, allocations: 7.099 MB / 0.849 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/1.106, allocations: 0.9893 MB / 0.8499 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001006/1.107, allocations: 449.4 kB / 0.8503 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/1.108, allocations: 411.2 kB / 0.8507 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of SimCode: time 1.082e-06/1.108, allocations: 3.188 kB / 0.8507 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06335/1.171, allocations: 25.83 MB / 0.876 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.91, allocations: 11.31 kB / 0.876 GB, free: 15.98 MB / 0.6544 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches