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.001194/0.001194, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001237/0.001237, allocations: 189.3 kB / 16.25 MB, free: 6.633 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.226/1.226, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5811/0.5811, allocations: 91.22 MB / 381.3 MB, free: 9.52 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 73.23 kB / 459.9 MB, free: 23.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09862/0.09999, allocations: 67.69 MB / 0.5152 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.3861/0.4861, allocations: 200 MB / 0.7106 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.5004, allocations: 15.03 MB / 0.7253 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000856/0.5013, allocations: 43.69 kB / 0.7253 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.5026, allocations: 469.5 kB / 0.7258 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.5054, allocations: 1.178 MB / 0.7269 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.5083, allocations: 1.359 MB / 0.7282 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.5095, allocations: 1.343 MB / 0.7296 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.5098, allocations: 261 kB / 0.7298 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.5114, allocations: 1.102 MB / 0.7309 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.5118, allocations: 0.5208 MB / 0.7314 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.184e-05/0.5119, allocations: 76 kB / 0.7315 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.5156, allocations: 2.788 MB / 0.7342 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.5158, allocations: 207.1 kB / 0.7344 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.5162, allocations: 0.5011 MB / 0.7349 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.5182, allocations: 1.924 MB / 0.7368 GB, free: 12.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5182, allocations: 0 / 0.7368 GB, free: 12.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5182, allocations: 3.938 kB / 0.7368 GB, free: 12.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.5182, allocations: 0 / 0.7368 GB, free: 12.75 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.002335/0.5206, allocations: 1.547 MB / 0.7383 GB, free: 11.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.5206, allocations: 12.03 kB / 0.7383 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.5208, allocations: 123.3 kB / 0.7384 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.5223, allocations: 242.4 kB / 0.7386 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008583/0.5232, allocations: 0.7048 MB / 0.7393 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.5234, allocations: 176.8 kB / 0.7395 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.5235, allocations: 75.91 kB / 0.7396 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.5249, allocations: 0.8335 MB / 0.7404 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.525, allocations: 7.938 kB / 0.7404 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/0.525, allocations: 24 kB / 0.7404 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.5251, allocations: 20.88 kB / 0.7404 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.5264, allocations: 0.6597 MB / 0.7411 GB, free: 8.199 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.003601/0.53, allocations: 3.197 MB / 0.7442 GB, free: 4.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.5312, allocations: 0.5927 MB / 0.7448 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/0.5319, allocations: 346.9 kB / 0.7451 GB, free: 3.781 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005544/0.5324, allocations: 0.8952 MB / 0.746 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.5325, allocations: 43.12 kB / 0.746 GB, free: 2.633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=58): time 2.094e-06/0.5325, allocations: 0 / 0.746 GB, free: 2.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=58): time 0.004373/0.5369, allocations: 1.682 MB / 0.7477 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.5369, allocations: 55.97 kB / 0.7477 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/0.5376, allocations: 0.669 MB / 0.7484 GB, free: 136 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.5376, allocations: 37.64 kB / 0.7484 GB, free: 92 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.5379, allocations: 436.2 kB / 0.7488 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.5381, allocations: 201 kB / 0.749 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.5382, allocations: 114.2 kB / 0.7491 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.5383, allocations: 330 kB / 0.7494 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.5389, allocations: 253 kB / 0.7497 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/0.5395, allocations: 311.3 kB / 0.75 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.5407, allocations: 0.5484 MB / 0.7505 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5407, allocations: 0 / 0.7505 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002557/0.5433, allocations: 1.027 MB / 0.7515 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5433, allocations: 4 kB / 0.7515 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5433, allocations: 11.98 kB / 0.7515 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007113/0.544, allocations: 230.3 kB / 0.7517 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.5448, allocations: 143.8 kB / 0.7519 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005068/0.5498, allocations: 5.106 MB / 0.7569 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.5504, allocations: 87.38 kB / 0.757 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/0.5505, allocations: 35.98 kB / 0.757 GB, free: 6.816 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.0002839/0.5508, allocations: 201.7 kB / 0.7572 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.5509, allocations: 78.97 kB / 0.7573 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/0.5543, allocations: 1.405 MB / 0.7586 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5543, allocations: 11.94 kB / 0.7586 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5543, allocations: 0 / 0.7586 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.5543, allocations: 3.984 kB / 0.7586 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/0.5582, allocations: 2.075 MB / 0.7607 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5582, allocations: 4.156 kB / 0.7607 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007166/0.559, allocations: 131.8 kB / 0.7608 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006649/0.5596, allocations: 234.3 kB / 0.761 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.5597, allocations: 31.92 kB / 0.761 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004985/0.5647, allocations: 5.097 MB / 0.766 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5647, allocations: 0 / 0.766 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/0.5678, allocations: 1.408 MB / 0.7674 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.5681, allocations: 208.2 kB / 0.7676 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.5682, allocations: 16 kB / 0.7676 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/0.5687, allocations: 51.94 kB / 0.7677 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5688, allocations: 48.38 kB / 0.7677 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.5689, allocations: 36.86 kB / 0.7677 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005059/0.5694, allocations: 483 kB / 0.7682 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5694, allocations: 0 / 0.7682 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009584/0.5704, allocations: 403.2 kB / 0.7686 GB, free: 10.31 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.004091/0.5745, allocations: 2.366 MB / 0.7709 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002282/0.5768, allocations: 1.088 MB / 0.772 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5768, allocations: 0 / 0.772 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.5783, allocations: 0.7954 MB / 0.7727 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009204/0.5792, allocations: 222.3 kB / 0.773 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.5908, allocations: 7.752 MB / 0.7805 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.5913, allocations: 0.9893 MB / 0.7815 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009942/0.5923, allocations: 451.5 kB / 0.7819 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000573/0.5929, allocations: 403.2 kB / 0.7823 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.5929, allocations: 4 kB / 0.7823 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2675/0.8604, allocations: 25.09 MB / 0.8068 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002775/0.8607, allocations: 304.2 kB / 0.8071 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/3.745, allocations: 4 kB / 0.8071 GB, free: 2.727 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