Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.0007465/0.0007465, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007249/0.0007249, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8487/0.8487, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6231/0.6231, allocations: 116 MB / 375.2 MB, free: 4.211 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_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5532 GB, free: 13.35 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.078e-05, allocations: 2.281 kB / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4294/0.4294, allocations: 179.9 MB / 0.7289 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.009465/0.4389, allocations: 10.31 MB / 0.739 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.4399, allocations: 70.12 kB / 0.7391 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.4411, allocations: 478.4 kB / 0.7395 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.4445, allocations: 1.475 MB / 0.741 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.4476, allocations: 1.516 MB / 0.7425 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001679/0.4492, allocations: 1.595 MB / 0.744 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.4496, allocations: 166.1 kB / 0.7442 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.4518, allocations: 1.434 MB / 0.7456 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.4523, allocations: 407.3 kB / 0.746 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.4524, allocations: 77.5 kB / 0.746 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.4558, allocations: 2.535 MB / 0.7485 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.456, allocations: 206.8 kB / 0.7487 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.00046/0.4565, allocations: 361.8 kB / 0.749 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003656/0.4601, allocations: 2.126 MB / 0.7511 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4601, allocations: 0 / 0.7511 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4601, allocations: 0 / 0.7511 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.379e-05/0.4602, allocations: 10.75 kB / 0.7511 GB, free: 1.234 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.002213/0.4624, allocations: 1.561 MB / 0.7527 GB, free: 68 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4624, allocations: 10.91 kB / 0.7527 GB, free: 68 kB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.4625, allocations: 122.7 kB / 0.7528 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009429/0.4635, allocations: 261.4 kB / 0.753 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.4645, allocations: 0.7462 MB / 0.7538 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.4647, allocations: 296.6 kB / 0.754 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-05/0.4648, allocations: 74.62 kB / 0.7541 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009653/0.4657, allocations: 0.8162 MB / 0.7549 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4658, allocations: 0 / 0.7549 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.4658, allocations: 25.12 kB / 0.7549 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.4658, allocations: 26.62 kB / 0.755 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009078/0.4667, allocations: 0.7019 MB / 0.7556 GB, free: 14.08 MB / 0.6042 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.00259/0.4693, allocations: 2.174 MB / 0.7578 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.4701, allocations: 0.5644 MB / 0.7583 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.4705, allocations: 302.2 kB / 0.7586 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.4707, allocations: 76.38 kB / 0.7587 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.4707, allocations: 39.06 kB / 0.7587 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=58): time 3.145e-06/0.4707, allocations: 0 / 0.7587 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58): time 0.002658/0.4734, allocations: 1.486 MB / 0.7602 GB, free: 9.777 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/0.4735, allocations: 59.91 kB / 0.7602 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/0.4742, allocations: 0.7243 MB / 0.7609 GB, free: 8.977 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.4742, allocations: 37.7 kB / 0.761 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.4745, allocations: 472.7 kB / 0.7614 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.4746, allocations: 206.2 kB / 0.7616 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.4747, allocations: 114.3 kB / 0.7617 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.4748, allocations: 330 kB / 0.762 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.4751, allocations: 237.2 kB / 0.7623 GB, free: 7.586 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.4755, allocations: 303.3 kB / 0.7626 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.4762, allocations: 0.5357 MB / 0.7631 GB, free: 6.723 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4762, allocations: 3.938 kB / 0.7631 GB, free: 6.719 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001434/0.4776, allocations: 0.9712 MB / 0.764 GB, free: 5.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4777, allocations: 4 kB / 0.764 GB, free: 5.727 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.4777, allocations: 4 kB / 0.764 GB, free: 5.723 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/0.4781, allocations: 214.4 kB / 0.7642 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.4784, allocations: 123.9 kB / 0.7644 GB, free: 5.383 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003316/0.4817, allocations: 4.721 MB / 0.769 GB, free: 320 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.4822, allocations: 75.69 kB / 0.769 GB, free: 244 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/0.4822, allocations: 39.98 kB / 0.7691 GB, free: 204 kB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (60): * Single equations (assignments): 57 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000301/0.4825, allocations: 202.6 kB / 0.7693 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.4827, allocations: 107.3 kB / 0.7694 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.4844, allocations: 1.313 MB / 0.7707 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4844, allocations: 8 kB / 0.7707 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4845, allocations: 0 / 0.7707 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4845, allocations: 3.984 kB / 0.7707 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.4867, allocations: 1.755 MB / 0.7724 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4867, allocations: 4.031 kB / 0.7724 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.487, allocations: 108.4 kB / 0.7725 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000394/0.4874, allocations: 218.3 kB / 0.7727 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.4874, allocations: 23.98 kB / 0.7727 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003226/0.4907, allocations: 4.722 MB / 0.7773 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4907, allocations: 3.938 kB / 0.7773 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.4926, allocations: 1.346 MB / 0.7787 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.4929, allocations: 147.2 kB / 0.7788 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.493, allocations: 12 kB / 0.7788 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.4933, allocations: 38.59 kB / 0.7788 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4934, allocations: 56.34 kB / 0.7789 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.4934, allocations: 35.97 kB / 0.7789 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004314/0.4938, allocations: 0.5107 MB / 0.7794 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4938, allocations: 0 / 0.7794 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009472/0.4948, allocations: 422.9 kB / 0.7798 GB, free: 4.703 MB / 0.6198 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 {(2,2,100.0%), (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.002841/0.4976, allocations: 2.331 MB / 0.7821 GB, free: 2.332 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.4989, allocations: 0.9755 MB / 0.7831 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4989, allocations: 4 kB / 0.7831 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000698/0.4996, allocations: 0.7139 MB / 0.7838 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009913/0.5006, allocations: 313.8 kB / 0.7841 GB, free: 268 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00903/0.5097, allocations: 7.216 MB / 0.7911 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.51, allocations: 418.3 kB / 0.7915 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007711/0.5107, allocations: 456.3 kB / 0.7919 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.5112, allocations: 432.3 kB / 0.7924 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/0.5112, allocations: 4 kB / 0.7924 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04989/0.5611, allocations: 30.49 MB / 0.8221 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/8.079, allocations: 0 / 0.8221 GB, free: 9.512 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.553678744472563]