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.001021/0.001021, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005963/0.005963, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.169/1.169, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5303/0.5303, allocations: 89.64 MB / 381.1 MB, free: 11.33 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004164, allocations: 10.19 kB / 460.7 MB, free: 24.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09879/0.09922, allocations: 68.83 MB / 0.5172 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.3738/0.4731, allocations: 197.3 MB / 0.7098 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.4871, allocations: 14.87 MB / 0.7243 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006499/0.4877, allocations: 19.88 kB / 0.7244 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.4888, allocations: 449.7 kB / 0.7248 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.4915, allocations: 1.124 MB / 0.7259 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.4945, allocations: 1.278 MB / 0.7271 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.4959, allocations: 1.359 MB / 0.7285 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.4962, allocations: 233.1 kB / 0.7287 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.4979, allocations: 0.9576 MB / 0.7296 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005206/0.4984, allocations: 445.8 kB / 0.73 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.352e-05/0.4985, allocations: 40 kB / 0.7301 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.5026, allocations: 2.675 MB / 0.7327 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.5027, allocations: 151.2 kB / 0.7328 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.5031, allocations: 443.3 kB / 0.7333 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.5053, allocations: 1.761 MB / 0.735 GB, free: 12.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.5054, allocations: 0 / 0.735 GB, free: 12.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5054, allocations: 0 / 0.735 GB, free: 12.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.5054, allocations: 0 / 0.735 GB, free: 12.31 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.002101/0.5075, allocations: 1.252 MB / 0.7362 GB, free: 11.01 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.5075, allocations: 8.031 kB / 0.7362 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.5077, allocations: 118.5 kB / 0.7363 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.5092, allocations: 226.6 kB / 0.7365 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.5098, allocations: 0.5254 MB / 0.737 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.51, allocations: 192.7 kB / 0.7372 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.5102, allocations: 75.91 kB / 0.7373 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.5117, allocations: 0.8571 MB / 0.7381 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.5117, allocations: 3.984 kB / 0.7381 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.5118, allocations: 31.94 kB / 0.7382 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.5118, allocations: 16 kB / 0.7382 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.5132, allocations: 0.687 MB / 0.7389 GB, free: 8.191 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.003585/0.5168, allocations: 3.167 MB / 0.742 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.5181, allocations: 0.6355 MB / 0.7426 GB, free: 4.102 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.5188, allocations: 378.9 kB / 0.7429 GB, free: 3.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/0.5193, allocations: 0.8991 MB / 0.7438 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.5193, allocations: 39.12 kB / 0.7439 GB, free: 2.578 MB / 0.545 GB Notification: Performance of pre-optimization done (n=58): time 2.675e-06/0.5193, allocations: 3.984 kB / 0.7439 GB, free: 2.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=58): time 0.004715/0.524, allocations: 1.882 MB / 0.7457 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.5241, allocations: 55.97 kB / 0.7457 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.5246, allocations: 0.5187 MB / 0.7463 GB, free: 28 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.5247, allocations: 37.7 kB / 0.7463 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.5249, allocations: 368.2 kB / 0.7466 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.5251, allocations: 197.1 kB / 0.7468 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.5251, allocations: 49.69 kB / 0.7469 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5253, allocations: 374.8 kB / 0.7472 GB, free: 15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000633/0.5259, allocations: 285 kB / 0.7475 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/0.5266, allocations: 332.6 kB / 0.7478 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.5279, allocations: 0.5953 MB / 0.7484 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5279, allocations: 0 / 0.7484 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002715/0.5306, allocations: 1.137 MB / 0.7495 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5306, allocations: 4 kB / 0.7495 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5306, allocations: 4 kB / 0.7495 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007732/0.5314, allocations: 262.4 kB / 0.7498 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007064/0.5321, allocations: 151.8 kB / 0.7499 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005106/0.5372, allocations: 4.92 MB / 0.7547 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.5378, allocations: 91.44 kB / 0.7548 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.5379, allocations: 47.92 kB / 0.7549 GB, free: 6.754 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.0002618/0.5382, allocations: 197.7 kB / 0.755 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.5383, allocations: 59.25 kB / 0.7551 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.5418, allocations: 1.523 MB / 0.7566 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5418, allocations: 4 kB / 0.7566 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5418, allocations: 8 kB / 0.7566 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5418, allocations: 3.984 kB / 0.7566 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/0.5458, allocations: 2.145 MB / 0.7587 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.5458, allocations: 4 kB / 0.7587 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007102/0.5465, allocations: 136 kB / 0.7588 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007311/0.5472, allocations: 278.2 kB / 0.7591 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.5473, allocations: 23.98 kB / 0.7591 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/0.5524, allocations: 4.923 MB / 0.7639 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.5525, allocations: 4 kB / 0.7639 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.5557, allocations: 1.518 MB / 0.7654 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.5559, allocations: 212 kB / 0.7656 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/0.556, allocations: 12 kB / 0.7656 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.5565, allocations: 59.95 kB / 0.7657 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.5566, allocations: 56.3 kB / 0.7657 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.5567, allocations: 31.98 kB / 0.7658 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000396/0.5571, allocations: 382.8 kB / 0.7661 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5571, allocations: 0 / 0.7661 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009151/0.558, allocations: 387.3 kB / 0.7665 GB, free: 10.21 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.004167/0.5622, allocations: 2.479 MB / 0.7689 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00221/0.5644, allocations: 1.154 MB / 0.7701 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5644, allocations: 0 / 0.7701 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.5659, allocations: 0.858 MB / 0.7709 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009771/0.5669, allocations: 183.6 kB / 0.7711 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.5782, allocations: 7.39 MB / 0.7783 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.5786, allocations: 0.942 MB / 0.7792 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009536/0.5796, allocations: 432.8 kB / 0.7796 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/0.5801, allocations: 331.3 kB / 0.7799 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.5801, allocations: 0 / 0.7799 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.97/3.551, allocations: 22.45 MB / 0.8018 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/3.551, allocations: 298.8 kB / 0.8021 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/5.915, allocations: 0 / 0.8021 GB, free: 5.656 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