Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007488/0.0007488, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007452/0.0007452, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8723/0.8723, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6319/0.6319, allocations: 116 MB / 375.2 MB, free: 4.18 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.97e-05, allocations: 5.656 kB / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4383/0.4383, allocations: 191.3 MB / 0.7401 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.45, allocations: 12.52 MB / 0.7523 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.4513, allocations: 80.59 kB / 0.7524 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.4528, allocations: 0.5714 MB / 0.7529 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.4573, allocations: 1.93 MB / 0.7548 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004228/0.4615, allocations: 1.715 MB / 0.7565 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002874/0.4644, allocations: 1.988 MB / 0.7584 GB, free: 9.883 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005203/0.4649, allocations: 187.3 kB / 0.7586 GB, free: 9.762 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.468, allocations: 1.608 MB / 0.7602 GB, free: 8.812 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007427/0.4687, allocations: 0.501 MB / 0.7607 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.4689, allocations: 97.38 kB / 0.7608 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004867/0.4738, allocations: 3.33 MB / 0.764 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003722/0.4741, allocations: 254.8 kB / 0.7643 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007073/0.4748, allocations: 434.8 kB / 0.7647 GB, free: 5.383 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004997/0.4798, allocations: 2.555 MB / 0.7672 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.4798, allocations: 0 / 0.7672 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4798, allocations: 0 / 0.7672 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.906e-05/0.4799, allocations: 3.938 kB / 0.7672 GB, free: 2.812 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002829/0.4827, allocations: 1.861 MB / 0.769 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4828, allocations: 8.031 kB / 0.769 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.4829, allocations: 147.6 kB / 0.7691 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.4841, allocations: 306.8 kB / 0.7694 GB, free: 460 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.4856, allocations: 0.889 MB / 0.7703 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.4858, allocations: 303.6 kB / 0.7706 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.486, allocations: 91.94 kB / 0.7707 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.4873, allocations: 1.014 MB / 0.7717 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.4873, allocations: 0 / 0.7717 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.4874, allocations: 36 kB / 0.7717 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.4874, allocations: 24 kB / 0.7717 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.4886, allocations: 0.8353 MB / 0.7725 GB, free: 13.13 MB / 0.6198 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.003638/0.4922, allocations: 2.865 MB / 0.7753 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.4936, allocations: 0.816 MB / 0.7761 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004674/0.494, allocations: 387.3 kB / 0.7765 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.4943, allocations: 104.5 kB / 0.7766 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.4943, allocations: 39.22 kB / 0.7766 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 3.697e-06/0.4943, allocations: 0 / 0.7766 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.003208/0.4975, allocations: 1.752 MB / 0.7784 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.4976, allocations: 60.06 kB / 0.7784 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008044/0.4984, allocations: 0.8615 MB / 0.7793 GB, free: 6.117 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.58e-05/0.4984, allocations: 37.7 kB / 0.7793 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.4987, allocations: 0.5442 MB / 0.7798 GB, free: 5.523 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.4989, allocations: 285.5 kB / 0.7801 GB, free: 5.242 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.4991, allocations: 158.6 kB / 0.7802 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.4992, allocations: 337.9 kB / 0.7806 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.4996, allocations: 293.8 kB / 0.7808 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.5001, allocations: 388.8 kB / 0.7812 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008828/0.5009, allocations: 0.6878 MB / 0.7819 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5009, allocations: 0 / 0.7819 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001754/0.5027, allocations: 1.174 MB / 0.783 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.5027, allocations: 4 kB / 0.783 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5027, allocations: 4 kB / 0.783 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005075/0.5032, allocations: 242 kB / 0.7833 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.5036, allocations: 175.8 kB / 0.7834 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003688/0.5073, allocations: 4.883 MB / 0.7882 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.5079, allocations: 95.39 kB / 0.7883 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.643e-05/0.508, allocations: 47.98 kB / 0.7883 GB, free: 12.37 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 81 * 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 {(2,2,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003776/0.5084, allocations: 237.7 kB / 0.7886 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.5086, allocations: 123.2 kB / 0.7887 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.5109, allocations: 1.731 MB / 0.7904 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.5109, allocations: 8 kB / 0.7904 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5109, allocations: 3.938 kB / 0.7904 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.5109, allocations: 7.969 kB / 0.7904 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/0.5137, allocations: 2.136 MB / 0.7925 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.5137, allocations: 4 kB / 0.7925 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.5141, allocations: 159.8 kB / 0.7926 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/0.5145, allocations: 244.7 kB / 0.7929 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.5146, allocations: 31.97 kB / 0.7929 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/0.5179, allocations: 4.848 MB / 0.7976 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5179, allocations: 4.031 kB / 0.7976 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.5202, allocations: 1.678 MB / 0.7993 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.5206, allocations: 187 kB / 0.7995 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.105e-05/0.5207, allocations: 20 kB / 0.7995 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.521, allocations: 39.97 kB / 0.7995 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.5211, allocations: 80.39 kB / 0.7996 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.5212, allocations: 56.3 kB / 0.7996 GB, free: 312 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005435/0.5217, allocations: 0.5857 MB / 0.8002 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5217, allocations: 0 / 0.8002 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0011/0.5228, allocations: 0.4911 MB / 0.8007 GB, free: 15.22 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (76): * Single equations (assignments): 73 * 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 {(1,4,100.0%), (1,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003125/0.5259, allocations: 2.696 MB / 0.8033 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.5275, allocations: 1.181 MB / 0.8045 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5275, allocations: 0 / 0.8045 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000813/0.5284, allocations: 0.8084 MB / 0.8053 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.5295, allocations: 406.6 kB / 0.8057 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.5397, allocations: 8.608 MB / 0.8141 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.5401, allocations: 0.5044 MB / 0.8146 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009621/0.5411, allocations: 0.6371 MB / 0.8152 GB, free: 20 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/0.5416, allocations: 0.5472 MB / 0.8157 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of SimCode: time 1.022e-06/0.5416, allocations: 0 / 0.8157 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05248/0.5941, allocations: 36.28 MB / 0.8511 GB, free: 11.67 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.281, allocations: 4 kB / 0.8512 GB, free: 11.66 MB / 0.698 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.797078733332455]