Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.001497/0.001497, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001612/0.001612, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.411/1.411, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5927/0.5927, allocations: 94.58 MB / 399 MB, free: 15.84 MB / 334.1 MB " [Timeout remaining time 179] 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.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 83.86 kB / 0.5442 GB, free: 12.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3503, allocations: 71.84 MB / 0.6144 GB, free: 3.863 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.2289/0.5791, allocations: 203 MB / 0.8126 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01913/0.5982, allocations: 15.03 MB / 0.8273 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.5994, allocations: 43.75 kB / 0.8273 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.6011, allocations: 0.5083 MB / 0.8278 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.6053, allocations: 1.355 MB / 0.8291 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004189/0.6095, allocations: 1.401 MB / 0.8305 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002097/0.6116, allocations: 1.393 MB / 0.8319 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.6121, allocations: 172.6 kB / 0.832 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.6147, allocations: 1.102 MB / 0.8331 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008155/0.6156, allocations: 0.5092 MB / 0.8336 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.6157, allocations: 76 kB / 0.8337 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005785/0.6215, allocations: 2.551 MB / 0.8362 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.6217, allocations: 203.1 kB / 0.8364 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006116/0.6224, allocations: 0.505 MB / 0.8368 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004138/0.6265, allocations: 1.899 MB / 0.8387 GB, free: 14.59 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6265, allocations: 0 / 0.8387 GB, free: 14.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6265, allocations: 4 kB / 0.8387 GB, free: 14.59 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.669e-05/0.6265, allocations: 3.938 kB / 0.8387 GB, free: 14.58 MB / 0.67 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.003228/0.6298, allocations: 1.583 MB / 0.8403 GB, free: 12.95 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.134e-05/0.6298, allocations: 12.03 kB / 0.8403 GB, free: 12.93 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.63, allocations: 118.5 kB / 0.8404 GB, free: 12.81 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.6317, allocations: 247 kB / 0.8406 GB, free: 12.57 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.6331, allocations: 0.7953 MB / 0.8414 GB, free: 11.73 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.6333, allocations: 184.8 kB / 0.8416 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.6335, allocations: 83.88 kB / 0.8417 GB, free: 11.44 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.6353, allocations: 0.8141 MB / 0.8424 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.6353, allocations: 3.938 kB / 0.8424 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.6354, allocations: 39.98 kB / 0.8425 GB, free: 10.57 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.6354, allocations: 16 kB / 0.8425 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.6368, allocations: 0.6441 MB / 0.8431 GB, free: 9.91 MB / 0.67 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.00465/0.6415, allocations: 3.237 MB / 0.8463 GB, free: 6.375 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.6429, allocations: 0.556 MB / 0.8468 GB, free: 5.809 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007281/0.6436, allocations: 326.3 kB / 0.8471 GB, free: 5.488 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000802/0.6444, allocations: 0.8991 MB / 0.848 GB, free: 4.387 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.6444, allocations: 39.12 kB / 0.8481 GB, free: 4.34 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 1.633e-06/0.6444, allocations: 0 / 0.8481 GB, free: 4.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.005021/0.6495, allocations: 1.675 MB / 0.8497 GB, free: 2.594 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.6495, allocations: 59.97 kB / 0.8498 GB, free: 2.523 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008793/0.6504, allocations: 0.6729 MB / 0.8504 GB, free: 1.84 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.6504, allocations: 33.7 kB / 0.8504 GB, free: 1.801 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.6508, allocations: 452.8 kB / 0.8509 GB, free: 1.355 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.651, allocations: 206.2 kB / 0.8511 GB, free: 1.152 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.6512, allocations: 114.2 kB / 0.8512 GB, free: 1.035 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6514, allocations: 322 kB / 0.8515 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/0.652, allocations: 253 kB / 0.8517 GB, free: 476 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.6527, allocations: 260.9 kB / 0.852 GB, free: 220 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.654, allocations: 0.5273 MB / 0.8525 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.654, allocations: 3.938 kB / 0.8525 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002837/0.6569, allocations: 1.008 MB / 0.8535 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.6569, allocations: 4 kB / 0.8535 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6569, allocations: 3.938 kB / 0.8535 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008041/0.6577, allocations: 230.4 kB / 0.8537 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007603/0.6584, allocations: 159.7 kB / 0.8539 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00629/0.6647, allocations: 5.09 MB / 0.8588 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.6652, allocations: 67.67 kB / 0.8589 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.578e-05/0.6653, allocations: 35.98 kB / 0.8589 GB, free: 8.637 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * 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.0004344/0.6657, allocations: 213.6 kB / 0.8591 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.6659, allocations: 95.39 kB / 0.8592 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003555/0.6694, allocations: 1.41 MB / 0.8606 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6695, allocations: 7.938 kB / 0.8606 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.6695, allocations: 4 kB / 0.8606 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.6695, allocations: 3.984 kB / 0.8606 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/0.6738, allocations: 2.082 MB / 0.8627 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6738, allocations: 0 / 0.8627 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/0.6746, allocations: 147.9 kB / 0.8628 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007373/0.6753, allocations: 234.3 kB / 0.863 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.538e-05/0.6753, allocations: 23.98 kB / 0.863 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2551/0.9305, allocations: 5.105 MB / 0.868 GB, free: 233.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.9305, allocations: 2.5 kB / 0.868 GB, free: 233.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/0.9339, allocations: 1.415 MB / 0.8694 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.9342, allocations: 219.2 kB / 0.8696 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.878e-05/0.9343, allocations: 16.69 kB / 0.8696 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005235/0.9348, allocations: 34.7 kB / 0.8697 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.935, allocations: 63.27 kB / 0.8697 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.935, allocations: 36.8 kB / 0.8698 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005027/0.9355, allocations: 483.1 kB / 0.8702 GB, free: 233.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.9355, allocations: 0 / 0.8702 GB, free: 233.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001159/0.9367, allocations: 373.7 kB / 0.8706 GB, free: 233.2 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (53): * Single equations (assignments): 50 * 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.004032/0.9407, allocations: 2.348 MB / 0.8729 GB, free: 232.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002242/0.9429, allocations: 1.031 MB / 0.8739 GB, free: 231.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.943, allocations: 0 / 0.8739 GB, free: 231.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.9446, allocations: 0.787 MB / 0.8746 GB, free: 231.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.9456, allocations: 213.3 kB / 0.8749 GB, free: 231.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.9577, allocations: 7.089 MB / 0.8818 GB, free: 227.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.9583, allocations: 1.002 MB / 0.8828 GB, free: 227.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008761/0.9591, allocations: 438 kB / 0.8832 GB, free: 227 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/0.9597, allocations: 409.4 kB / 0.8836 GB, free: 226.7 MB / 0.6856 GB Notification: Performance of SimCode: time 7.01e-07/0.9597, allocations: 7.938 kB / 0.8836 GB, free: 226.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06593/1.026, allocations: 25.18 MB / 0.9082 GB, free: 214.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.28, allocations: 0 / 0.9082 GB, free: 214.9 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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: 15.47731491799641]