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.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.001749/0.001749, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6514/0.6514, allocations: 91.18 MB / 381.6 MB, free: 9.445 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 84.94 kB / 460.4 MB, free: 23.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1227, allocations: 67.7 MB / 0.5157 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4748/0.5975, allocations: 201.8 MB / 0.7128 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0152/0.6127, allocations: 15.03 MB / 0.7275 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007606/0.6135, allocations: 43.69 kB / 0.7275 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.6148, allocations: 0.5161 MB / 0.728 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.6177, allocations: 1.31 MB / 0.7293 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.621, allocations: 1.472 MB / 0.7308 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.6222, allocations: 1.339 MB / 0.7321 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.6226, allocations: 265 kB / 0.7323 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.6243, allocations: 1.059 MB / 0.7334 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.6248, allocations: 0.5014 MB / 0.7338 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.6249, allocations: 83.94 kB / 0.7339 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/0.629, allocations: 2.559 MB / 0.7364 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.6292, allocations: 199.2 kB / 0.7366 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000396/0.6296, allocations: 0.5011 MB / 0.7371 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.632, allocations: 1.917 MB / 0.739 GB, free: 10.6 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.632, allocations: 4 kB / 0.739 GB, free: 10.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.632, allocations: 0 / 0.739 GB, free: 10.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.632, allocations: 0 / 0.739 GB, free: 10.59 MB / 0.545 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.00251/0.6345, allocations: 1.547 MB / 0.7405 GB, free: 8.996 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.6346, allocations: 12.02 kB / 0.7405 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.6347, allocations: 118.5 kB / 0.7406 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.6364, allocations: 247.2 kB / 0.7408 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009634/0.6374, allocations: 0.7049 MB / 0.7415 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.6376, allocations: 184.8 kB / 0.7417 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.6377, allocations: 75.91 kB / 0.7418 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.6393, allocations: 0.8219 MB / 0.7426 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.6393, allocations: 0 / 0.7426 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/0.6394, allocations: 28 kB / 0.7426 GB, free: 6.723 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.6394, allocations: 20 kB / 0.7426 GB, free: 6.703 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.6408, allocations: 0.6558 MB / 0.7433 GB, free: 6.051 MB / 0.545 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.003974/0.6448, allocations: 3.214 MB / 0.7464 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.6462, allocations: 0.5966 MB / 0.747 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/0.6469, allocations: 350.4 kB / 0.7473 GB, free: 1.609 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006021/0.6475, allocations: 0.8913 MB / 0.7482 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.6476, allocations: 47.06 kB / 0.7482 GB, free: 472 kB / 0.545 GB Notification: Performance of pre-optimization done (n=58): time 1.693e-06/0.6476, allocations: 0 / 0.7482 GB, free: 472 kB / 0.545 GB Notification: Performance of matching and sorting (n=58): time 0.00483/0.6524, allocations: 1.682 MB / 0.7499 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.6524, allocations: 55.97 kB / 0.7499 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007519/0.6532, allocations: 0.669 MB / 0.7506 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.6533, allocations: 37.7 kB / 0.7506 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.6536, allocations: 432.2 kB / 0.751 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.6537, allocations: 205.1 kB / 0.7512 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.6539, allocations: 114.2 kB / 0.7513 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6541, allocations: 322 kB / 0.7517 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006607/0.6547, allocations: 257 kB / 0.7519 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006657/0.6554, allocations: 316.5 kB / 0.7522 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.6567, allocations: 0.5394 MB / 0.7527 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6567, allocations: 7.938 kB / 0.7527 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002842/0.6596, allocations: 1.031 MB / 0.7537 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.6596, allocations: 4 kB / 0.7537 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.6596, allocations: 7.984 kB / 0.7538 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008283/0.6605, allocations: 226.4 kB / 0.754 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007842/0.6613, allocations: 155.8 kB / 0.7541 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006758/0.668, allocations: 5.089 MB / 0.7591 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005818/0.6687, allocations: 75.39 kB / 0.7592 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-05/0.6688, allocations: 39.98 kB / 0.7592 GB, free: 4.66 MB / 0.5606 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.0003956/0.6692, allocations: 213.6 kB / 0.7594 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.6694, allocations: 82.97 kB / 0.7595 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/0.6733, allocations: 1.391 MB / 0.7608 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.6733, allocations: 7.938 kB / 0.7608 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6733, allocations: 8 kB / 0.7609 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6733, allocations: 3.984 kB / 0.7609 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004596/0.6779, allocations: 2.075 MB / 0.7629 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.678, allocations: 4.875 kB / 0.7629 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007841/0.6787, allocations: 135.9 kB / 0.763 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007579/0.6795, allocations: 238.3 kB / 0.7632 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.6796, allocations: 27.92 kB / 0.7633 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006221/0.6858, allocations: 5.095 MB / 0.7682 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.6858, allocations: 4.047 kB / 0.7682 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/0.6896, allocations: 1.4 MB / 0.7696 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.69, allocations: 211.8 kB / 0.7698 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.6901, allocations: 16 kB / 0.7698 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.6907, allocations: 31.97 kB / 0.7699 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.6908, allocations: 60.67 kB / 0.7699 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.571e-05/0.6909, allocations: 31.98 kB / 0.77 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006489/0.6915, allocations: 487 kB / 0.7704 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6915, allocations: 0 / 0.7704 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001181/0.6927, allocations: 395.3 kB / 0.7708 GB, free: 8.168 MB / 0.5762 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.004933/0.6977, allocations: 2.381 MB / 0.7731 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002829/0.7005, allocations: 1.084 MB / 0.7742 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7005, allocations: 4 kB / 0.7742 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/0.7022, allocations: 0.7955 MB / 0.775 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.7032, allocations: 214.5 kB / 0.7752 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.7174, allocations: 7.433 MB / 0.7824 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.718, allocations: 0.9893 MB / 0.7834 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001123/0.7191, allocations: 443.9 kB / 0.7838 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006171/0.7198, allocations: 411.2 kB / 0.7842 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.7198, allocations: 0 / 0.7842 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07288/0.7927, allocations: 25.19 MB / 0.8088 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.5, allocations: 7.922 kB / 0.8088 GB, free: 1.137 MB / 0.6075 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