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.001749/0.001748, 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.002243/0.002243, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8016/0.8016, allocations: 91.19 MB / 381.6 MB, free: 9.43 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002058, allocations: 81.16 kB / 460.4 MB, free: 23.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1446, allocations: 67.7 MB / 0.5157 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.3745/0.5191, allocations: 201.8 MB / 0.7128 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.5328, allocations: 14.82 MB / 0.7273 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006429/0.5334, allocations: 43.69 kB / 0.7273 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.5346, allocations: 0.5123 MB / 0.7278 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.5374, allocations: 1.314 MB / 0.7291 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.5402, allocations: 1.387 MB / 0.7305 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.5414, allocations: 1.336 MB / 0.7318 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.5418, allocations: 266.6 kB / 0.732 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.5434, allocations: 1.051 MB / 0.7331 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.5439, allocations: 0.5053 MB / 0.7336 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.544, allocations: 80 kB / 0.7336 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.5477, allocations: 2.461 MB / 0.736 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.5479, allocations: 203.2 kB / 0.7362 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.5483, allocations: 0.4972 MB / 0.7367 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.5505, allocations: 1.839 MB / 0.7385 GB, free: 11.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5506, allocations: 3.984 kB / 0.7385 GB, free: 11.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5506, allocations: 0 / 0.7385 GB, free: 11.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.726e-05/0.5506, allocations: 3.938 kB / 0.7385 GB, free: 11.11 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.002413/0.553, allocations: 1.527 MB / 0.74 GB, free: 9.535 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.5531, allocations: 12.03 kB / 0.74 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.5532, allocations: 118.5 kB / 0.7401 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.5548, allocations: 238.4 kB / 0.7404 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008884/0.5557, allocations: 0.701 MB / 0.7411 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.5559, allocations: 185.6 kB / 0.7412 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.556, allocations: 75.91 kB / 0.7413 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.5574, allocations: 0.818 MB / 0.7421 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.5574, allocations: 4 kB / 0.7421 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.5575, allocations: 28 kB / 0.7421 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.5575, allocations: 24 kB / 0.7422 GB, free: 7.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.5589, allocations: 0.6441 MB / 0.7428 GB, free: 6.609 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.003621/0.5625, allocations: 3.232 MB / 0.7459 GB, free: 3.086 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.5637, allocations: 0.6044 MB / 0.7465 GB, free: 2.473 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006569/0.5644, allocations: 350.3 kB / 0.7469 GB, free: 2.129 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005132/0.5649, allocations: 0.8991 MB / 0.7477 GB, free: 1.027 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.565, allocations: 43.98 kB / 0.7478 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 1.583e-06/0.565, allocations: 3.938 kB / 0.7478 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.004476/0.5694, allocations: 1.674 MB / 0.7494 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.5695, allocations: 55.97 kB / 0.7495 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.5702, allocations: 0.6494 MB / 0.7501 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.5702, allocations: 41.7 kB / 0.7502 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.5705, allocations: 424.2 kB / 0.7506 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.5706, allocations: 201.1 kB / 0.7507 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.5708, allocations: 110.2 kB / 0.7509 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.5709, allocations: 322 kB / 0.7512 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/0.5715, allocations: 253 kB / 0.7514 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/0.5721, allocations: 264.9 kB / 0.7517 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.5733, allocations: 0.5233 MB / 0.7522 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5733, allocations: 0 / 0.7522 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002584/0.5759, allocations: 1.015 MB / 0.7532 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.5759, allocations: 8 kB / 0.7532 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5759, allocations: 0 / 0.7532 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007219/0.5766, allocations: 235.6 kB / 0.7534 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/0.5773, allocations: 143.8 kB / 0.7535 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00504/0.5824, allocations: 5.098 MB / 0.7585 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.5829, allocations: 67.45 kB / 0.7586 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.5829, allocations: 39.92 kB / 0.7586 GB, free: 5.316 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.0002473/0.5832, allocations: 209.6 kB / 0.7588 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.5833, allocations: 82.97 kB / 0.7589 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003368/0.5867, allocations: 1.412 MB / 0.7603 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.5867, allocations: 7.938 kB / 0.7603 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5867, allocations: 8 kB / 0.7603 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.5867, allocations: 3.984 kB / 0.7603 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003774/0.5905, allocations: 2.086 MB / 0.7623 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.5905, allocations: 0 / 0.7623 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/0.5913, allocations: 140 kB / 0.7625 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006563/0.5919, allocations: 242.2 kB / 0.7627 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.592, allocations: 27.92 kB / 0.7627 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004982/0.597, allocations: 5.099 MB / 0.7677 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.597, allocations: 3.938 kB / 0.7677 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/0.6001, allocations: 1.409 MB / 0.7691 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.6004, allocations: 215.8 kB / 0.7693 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.6005, allocations: 19.84 kB / 0.7693 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/0.601, allocations: 39.97 kB / 0.7693 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.6011, allocations: 60.48 kB / 0.7694 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/0.6012, allocations: 31.98 kB / 0.7694 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006485/0.6019, allocations: 471 kB / 0.7699 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.726e-06/0.6019, allocations: 0 / 0.7699 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001125/0.603, allocations: 371.2 kB / 0.7702 GB, free: 8.805 MB / 0.5762 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.004615/0.6076, allocations: 2.354 MB / 0.7725 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002446/0.6101, allocations: 1.089 MB / 0.7736 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6101, allocations: 0 / 0.7736 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.6117, allocations: 0.8 MB / 0.7744 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.6127, allocations: 203.2 kB / 0.7746 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.6266, allocations: 7.289 MB / 0.7817 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/0.6273, allocations: 0.9892 MB / 0.7826 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001116/0.6284, allocations: 454.3 kB / 0.7831 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/0.629, allocations: 399.3 kB / 0.7835 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.6291, allocations: 3.938 kB / 0.7835 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.65/3.279, allocations: 24.47 MB / 0.8074 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/17.13, allocations: 11.8 kB / 0.8074 GB, free: 2.684 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