Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_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.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001689/0.001689, allocations: 192.3 kB / 16.13 MB, free: 6.715 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.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5873/0.5873, allocations: 89.51 MB / 379.5 MB, free: 11.3 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 74.83 kB / 457.7 MB, free: 23.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09777, allocations: 67.32 MB / 0.5127 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.385/0.4828, allocations: 200 MB / 0.708 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.4966, allocations: 14.87 MB / 0.7225 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006817/0.4973, allocations: 23.88 kB / 0.7225 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.4985, allocations: 457.5 kB / 0.723 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002432/0.5009, allocations: 1.124 MB / 0.7241 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.5038, allocations: 1.213 MB / 0.7252 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.5051, allocations: 1.362 MB / 0.7266 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.5054, allocations: 233.1 kB / 0.7268 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.507, allocations: 0.985 MB / 0.7278 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.5075, allocations: 477.8 kB / 0.7282 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.446e-05/0.5075, allocations: 52 kB / 0.7283 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004184/0.5117, allocations: 2.601 MB / 0.7308 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.5119, allocations: 167.2 kB / 0.731 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003534/0.5122, allocations: 445.6 kB / 0.7314 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.5143, allocations: 1.702 MB / 0.7331 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5144, allocations: 4 kB / 0.7331 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5144, allocations: 0 / 0.7331 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.5144, allocations: 0 / 0.7331 GB, free: 1.469 MB / 0.5294 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.002237/0.5166, allocations: 1.388 MB / 0.7344 GB, free: 28 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.5167, allocations: 12.03 kB / 0.7344 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.5168, allocations: 122.5 kB / 0.7345 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.5183, allocations: 210.7 kB / 0.7347 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.519, allocations: 0.5331 MB / 0.7353 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.5192, allocations: 196.6 kB / 0.7354 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.5193, allocations: 72 kB / 0.7355 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.5208, allocations: 0.818 MB / 0.7363 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.5208, allocations: 7.938 kB / 0.7363 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/0.5209, allocations: 28 kB / 0.7363 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.5209, allocations: 20 kB / 0.7364 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.5222, allocations: 0.6402 MB / 0.737 GB, free: 13.29 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.003634/0.5259, allocations: 3.183 MB / 0.7401 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.5271, allocations: 0.6004 MB / 0.7407 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/0.5278, allocations: 350.4 kB / 0.741 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005432/0.5283, allocations: 0.8991 MB / 0.7419 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5283, allocations: 43.12 kB / 0.7419 GB, free: 7.715 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 1.673e-06/0.5284, allocations: 0 / 0.7419 GB, free: 7.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.004392/0.5327, allocations: 1.655 MB / 0.7436 GB, free: 5.988 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.5328, allocations: 55.97 kB / 0.7436 GB, free: 5.922 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/0.5333, allocations: 0.5069 MB / 0.7441 GB, free: 5.406 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.5334, allocations: 37.7 kB / 0.7441 GB, free: 5.363 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.5336, allocations: 360.1 kB / 0.7445 GB, free: 5.008 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.5337, allocations: 212.9 kB / 0.7447 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.5339, allocations: 110.2 kB / 0.7448 GB, free: 4.684 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5341, allocations: 374.8 kB / 0.7452 GB, free: 4.309 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.5347, allocations: 253 kB / 0.7454 GB, free: 4.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.5352, allocations: 260.9 kB / 0.7456 GB, free: 3.809 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.5364, allocations: 0.5233 MB / 0.7462 GB, free: 3.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5364, allocations: 0 / 0.7462 GB, free: 3.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002521/0.5389, allocations: 0.9961 MB / 0.7471 GB, free: 2.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.5389, allocations: 4 kB / 0.7471 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.5389, allocations: 0 / 0.7471 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007095/0.5397, allocations: 234.3 kB / 0.7474 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/0.5404, allocations: 151.8 kB / 0.7475 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004903/0.5453, allocations: 4.736 MB / 0.7521 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.5458, allocations: 83.52 kB / 0.7522 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/0.5459, allocations: 35.98 kB / 0.7522 GB, free: 12.62 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * 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.0002629/0.5462, allocations: 197.6 kB / 0.7524 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.5463, allocations: 67.09 kB / 0.7525 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/0.5497, allocations: 1.401 MB / 0.7539 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.5497, allocations: 8 kB / 0.7539 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5497, allocations: 4 kB / 0.7539 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.5497, allocations: 3.984 kB / 0.7539 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.5535, allocations: 2.043 MB / 0.7559 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5535, allocations: 4 kB / 0.7559 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/0.5543, allocations: 135.8 kB / 0.756 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000659/0.5549, allocations: 238.3 kB / 0.7562 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.555, allocations: 23.98 kB / 0.7562 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00484/0.5598, allocations: 4.745 MB / 0.7609 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5599, allocations: 3.938 kB / 0.7609 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.5629, allocations: 1.398 MB / 0.7623 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.5631, allocations: 196.2 kB / 0.7624 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.662e-05/0.5632, allocations: 16 kB / 0.7625 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/0.5637, allocations: 47.94 kB / 0.7625 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.5639, allocations: 68.36 kB / 0.7626 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-05/0.5639, allocations: 39.86 kB / 0.7626 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003811/0.5643, allocations: 370.8 kB / 0.763 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5643, allocations: 0 / 0.763 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009125/0.5652, allocations: 371.2 kB / 0.7633 GB, free: 0.6758 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (53): * Single equations (assignments): 50 * 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.004012/0.5692, allocations: 2.306 MB / 0.7656 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002108/0.5714, allocations: 1.058 MB / 0.7666 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5714, allocations: 0 / 0.7666 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.5728, allocations: 0.8116 MB / 0.7674 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008703/0.5737, allocations: 189.3 kB / 0.7676 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.5845, allocations: 6.873 MB / 0.7743 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.5849, allocations: 0.9419 MB / 0.7752 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009676/0.5859, allocations: 420.7 kB / 0.7756 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005112/0.5864, allocations: 343.3 kB / 0.7759 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.5864, allocations: 4 kB / 0.7759 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.6207, allocations: 21.99 MB / 0.7974 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/0.6211, allocations: 290.2 kB / 0.7977 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/3.346, allocations: 3.094 kB / 0.7977 GB, free: 13.39 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches