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.006645/0.006645, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001576/0.001576, allocations: 199.3 kB / 16.68 MB, free: 5.961 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7014/0.7014, allocations: 91.19 MB / 381.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001655, allocations: 83.88 kB / 0.5164 GB, free: 4.641 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3477, allocations: 67.68 MB / 0.5825 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5778/0.9255, allocations: 201.8 MB / 0.7796 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.9379, allocations: 15.02 MB / 0.7942 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.939, allocations: 42.75 kB / 0.7943 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.9403, allocations: 0.5197 MB / 0.7948 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.9435, allocations: 1.312 MB / 0.7961 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003512/0.9471, allocations: 1.474 MB / 0.7975 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001597/0.9487, allocations: 1.349 MB / 0.7988 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.949, allocations: 271 kB / 0.7991 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.9508, allocations: 1.07 MB / 0.8001 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.9513, allocations: 0.5035 MB / 0.8006 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.433e-05/0.9514, allocations: 79.69 kB / 0.8007 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004317/0.9557, allocations: 2.612 MB / 0.8032 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.9559, allocations: 206.6 kB / 0.8034 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.9564, allocations: 0.4987 MB / 0.8039 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003141/0.9595, allocations: 1.95 MB / 0.8058 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.9596, allocations: 0 / 0.8058 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9596, allocations: 4 kB / 0.8058 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.9596, allocations: 0 / 0.8058 GB, free: 15.98 MB / 0.5919 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.002697/0.9623, allocations: 1.543 MB / 0.8073 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.9623, allocations: 10.44 kB / 0.8073 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.9625, allocations: 116.8 kB / 0.8075 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.964, allocations: 239 kB / 0.8077 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.9654, allocations: 0.7727 MB / 0.8084 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.9656, allocations: 186.9 kB / 0.8086 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.9657, allocations: 71.09 kB / 0.8087 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.9671, allocations: 0.8288 MB / 0.8095 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.9672, allocations: 0 / 0.8095 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.188e-05/0.9672, allocations: 26.56 kB / 0.8095 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.9673, allocations: 22.16 kB / 0.8095 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.9685, allocations: 0.6524 MB / 0.8102 GB, free: 14.5 MB / 0.5919 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.003907/0.9725, allocations: 3.185 MB / 0.8133 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.9738, allocations: 0.5951 MB / 0.8139 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006967/0.9745, allocations: 347.4 kB / 0.8142 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005776/0.9751, allocations: 0.9004 MB / 0.8151 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.9752, allocations: 38.69 kB / 0.8151 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.665e-06/0.9752, allocations: 1.781 kB / 0.8151 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.004674/0.9799, allocations: 1.681 MB / 0.8168 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.9799, allocations: 62.31 kB / 0.8168 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.9807, allocations: 0.6618 MB / 0.8175 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.9808, allocations: 36.27 kB / 0.8175 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.9811, allocations: 440.6 kB / 0.8179 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.9813, allocations: 201.5 kB / 0.8181 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.9815, allocations: 115.4 kB / 0.8182 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.9816, allocations: 327.2 kB / 0.8185 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.9823, allocations: 260.1 kB / 0.8188 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.9829, allocations: 314.7 kB / 0.8191 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.9842, allocations: 0.5385 MB / 0.8196 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.9842, allocations: 4 kB / 0.8196 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002673/0.9869, allocations: 1.034 MB / 0.8206 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.9869, allocations: 4.719 kB / 0.8206 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.9869, allocations: 3.219 kB / 0.8206 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007849/0.9877, allocations: 229.3 kB / 0.8209 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/0.9884, allocations: 146.3 kB / 0.821 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005335/0.9938, allocations: 5.093 MB / 0.826 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.9944, allocations: 81 kB / 0.826 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-05/0.9946, allocations: 36.55 kB / 0.8261 GB, free: 3.055 MB / 0.5919 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.0003659/0.9949, allocations: 210.7 kB / 0.8263 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.9951, allocations: 86 kB / 0.8264 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003354/0.9984, allocations: 1.402 MB / 0.8277 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.9985, allocations: 7.938 kB / 0.8277 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.9985, allocations: 4 kB / 0.8277 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.9985, allocations: 0 / 0.8277 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/1.003, allocations: 2.074 MB / 0.8298 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.003, allocations: 3.094 kB / 0.8298 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/1.003, allocations: 139.1 kB / 0.8299 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006831/1.004, allocations: 237.6 kB / 0.8301 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/1.004, allocations: 27.92 kB / 0.8302 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005133/1.009, allocations: 5.102 MB / 0.8351 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.009, allocations: 4 kB / 0.8351 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/1.012, allocations: 1.399 MB / 0.8365 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/1.013, allocations: 215.8 kB / 0.8367 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/1.013, allocations: 15.91 kB / 0.8367 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/1.013, allocations: 39.95 kB / 0.8368 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.013, allocations: 48.38 kB / 0.8368 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-05/1.013, allocations: 35.08 kB / 0.8368 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005477/1.014, allocations: 487 kB / 0.8373 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/1.014, allocations: 0 / 0.8373 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001151/1.015, allocations: 391.3 kB / 0.8377 GB, free: 7.113 MB / 0.6075 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.004309/1.02, allocations: 2.366 MB / 0.84 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002324/1.022, allocations: 1.066 MB / 0.841 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.022, allocations: 0 / 0.841 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/1.023, allocations: 0.7922 MB / 0.8418 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/1.025, allocations: 216.7 kB / 0.842 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.037, allocations: 7.103 MB / 0.849 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/1.037, allocations: 0.9932 MB / 0.8499 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009211/1.038, allocations: 447.2 kB / 0.8503 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/1.039, allocations: 407.2 kB / 0.8507 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/1.039, allocations: 0 / 0.8507 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07274/1.111, allocations: 25.83 MB / 0.876 GB, free: 32 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/12.26, allocations: 1.688 kB / 0.876 GB, free: 32 kB / 0.6387 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