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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8362/0.8362, allocations: 94.58 MB / 397.3 MB, free: 304 kB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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_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 0.002329/0.002329, allocations: 85.44 kB / 0.5416 GB, free: 42.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.151, allocations: 71.85 MB / 0.6118 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.6302/0.7813, allocations: 202.6 MB / 0.8096 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01631/0.7976, allocations: 15.12 MB / 0.8244 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.7988, allocations: 43.66 kB / 0.8244 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.8005, allocations: 0.5158 MB / 0.8249 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003891/0.8044, allocations: 1.362 MB / 0.8262 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004321/0.8087, allocations: 1.488 MB / 0.8277 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002261/0.8109, allocations: 1.399 MB / 0.8291 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.8113, allocations: 171 kB / 0.8292 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.8141, allocations: 1.103 MB / 0.8303 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006024/0.8147, allocations: 0.5106 MB / 0.8308 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.56e-05/0.8148, allocations: 78.53 kB / 0.8309 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005806/0.8206, allocations: 2.63 MB / 0.8334 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.8209, allocations: 203.2 kB / 0.8336 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005713/0.8215, allocations: 0.511 MB / 0.8341 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004108/0.8256, allocations: 1.978 MB / 0.8361 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8256, allocations: 2.281 kB / 0.8361 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8256, allocations: 0 / 0.8361 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.8256, allocations: 0 / 0.8361 GB, free: 7.801 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.003131/0.8287, allocations: 1.604 MB / 0.8376 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.8288, allocations: 10.09 kB / 0.8376 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003049/0.8291, allocations: 120.8 kB / 0.8378 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.8308, allocations: 256.2 kB / 0.838 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.8324, allocations: 0.7966 MB / 0.8388 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/0.8327, allocations: 182.2 kB / 0.839 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.8329, allocations: 72.38 kB / 0.839 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.8346, allocations: 0.8293 MB / 0.8398 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.8346, allocations: 0 / 0.8398 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/0.8347, allocations: 25.34 kB / 0.8399 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.8347, allocations: 17.75 kB / 0.8399 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.8362, allocations: 0.6594 MB / 0.8405 GB, free: 4.738 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.00524/0.8415, allocations: 3.197 MB / 0.8436 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.8429, allocations: 0.5658 MB / 0.8442 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008999/0.8438, allocations: 326.7 kB / 0.8445 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007665/0.8446, allocations: 0.9009 MB / 0.8454 GB, free: 400 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.8446, allocations: 37.59 kB / 0.8454 GB, free: 356 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.615e-06/0.8446, allocations: 0 / 0.8454 GB, free: 356 kB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.004891/0.8495, allocations: 1.679 MB / 0.8471 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.8495, allocations: 67.53 kB / 0.8471 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009243/0.8505, allocations: 0.6852 MB / 0.8478 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.8505, allocations: 33.7 kB / 0.8478 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/0.851, allocations: 450 kB / 0.8483 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.8511, allocations: 210.6 kB / 0.8485 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.8513, allocations: 112.8 kB / 0.8486 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8515, allocations: 331.1 kB / 0.8489 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/0.8521, allocations: 255.8 kB / 0.8491 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.8528, allocations: 313.9 kB / 0.8494 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.8541, allocations: 0.5445 MB / 0.85 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.8541, allocations: 1.938 kB / 0.85 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002833/0.8569, allocations: 1.032 MB / 0.851 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8569, allocations: 4 kB / 0.851 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.8569, allocations: 4 kB / 0.851 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008475/0.8578, allocations: 230.3 kB / 0.8512 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.8585, allocations: 151.8 kB / 0.8513 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00636/0.8649, allocations: 5.094 MB / 0.8563 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/0.8655, allocations: 79.56 kB / 0.8564 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/0.8656, allocations: 35.98 kB / 0.8564 GB, free: 5.969 MB / 0.6075 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.0003432/0.866, allocations: 207.9 kB / 0.8566 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.8661, allocations: 91.39 kB / 0.8567 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/0.8698, allocations: 1.392 MB / 0.8581 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.8698, allocations: 7.938 kB / 0.8581 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8698, allocations: 7.938 kB / 0.8581 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.8698, allocations: 3.984 kB / 0.8581 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004612/0.8744, allocations: 2.082 MB / 0.8601 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8744, allocations: 0 / 0.8601 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/0.8752, allocations: 136 kB / 0.8603 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007654/0.8759, allocations: 238.3 kB / 0.8605 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.548e-05/0.876, allocations: 27.92 kB / 0.8605 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006491/0.8825, allocations: 5.103 MB / 0.8655 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.587e-05/0.8825, allocations: 4 kB / 0.8655 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003609/0.8861, allocations: 1.402 MB / 0.8669 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/0.8866, allocations: 220.3 kB / 0.8671 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.8868, allocations: 16 kB / 0.8671 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/0.8874, allocations: 35.97 kB / 0.8671 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/0.8876, allocations: 56.36 kB / 0.8672 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/0.8876, allocations: 31.98 kB / 0.8672 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007014/0.8883, allocations: 495 kB / 0.8677 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.8883, allocations: 0 / 0.8677 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001528/0.8899, allocations: 399 kB / 0.8681 GB, free: 9.465 MB / 0.6231 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.005606/0.8955, allocations: 2.371 MB / 0.8704 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002779/0.8983, allocations: 1.029 MB / 0.8714 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8983, allocations: 0 / 0.8714 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.9001, allocations: 0.7758 MB / 0.8721 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.9018, allocations: 222.1 kB / 0.8723 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.9168, allocations: 7.212 MB / 0.8794 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/0.9175, allocations: 0.9971 MB / 0.8804 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001109/0.9186, allocations: 441 kB / 0.8808 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007598/0.9194, allocations: 423.2 kB / 0.8812 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/0.9194, allocations: 0 / 0.8812 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07951/0.9989, allocations: 25.86 MB / 0.9064 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.13, allocations: 17.5 kB / 0.9065 GB, free: 2.172 MB / 0.6544 GB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.961060816887766]