Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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: translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 110.5 kB / 16.41 MB, free: 6.508 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.001925/0.001925, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7772/0.7772, allocations: 97.64 MB / 388.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 81.89 kB / 0.5268 GB, free: 38.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1048, allocations: 69.24 MB / 0.5944 GB, free: 484 kB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5362/0.641, allocations: 214.9 MB / 0.8043 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.6566, allocations: 17.44 MB / 0.8213 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.6578, allocations: 54.28 kB / 0.8214 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.6595, allocations: 0.6221 MB / 0.822 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.664, allocations: 1.777 MB / 0.8237 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.6681, allocations: 1.673 MB / 0.8253 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002238/0.6703, allocations: 1.721 MB / 0.827 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/0.6708, allocations: 187.3 kB / 0.8272 GB, free: 500 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.6731, allocations: 1.227 MB / 0.8284 GB, free: 348 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009268/0.674, allocations: 0.6287 MB / 0.829 GB, free: 184 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.6742, allocations: 95.31 kB / 0.8291 GB, free: 184 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005968/0.6802, allocations: 3.427 MB / 0.8324 GB, free: 88 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.6806, allocations: 248.3 kB / 0.8327 GB, free: 32 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009919/0.6816, allocations: 0.6187 MB / 0.8333 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005088/0.6866, allocations: 2.388 MB / 0.8356 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6866, allocations: 0 / 0.8356 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6867, allocations: 0 / 0.8356 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.334e-05/0.6867, allocations: 0 / 0.8356 GB, free: 15.46 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.004281/0.691, allocations: 1.902 MB / 0.8375 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.691, allocations: 14.38 kB / 0.8375 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.6932, allocations: 299.3 kB / 0.8378 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.6952, allocations: 0.9243 MB / 0.8387 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.6955, allocations: 199 kB / 0.8389 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.6957, allocations: 101 kB / 0.839 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.6977, allocations: 1.002 MB / 0.8399 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.6977, allocations: 2.438 kB / 0.8399 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.623e-05/0.6978, allocations: 39.92 kB / 0.84 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.6979, allocations: 23.91 kB / 0.84 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.6999, allocations: 0.7786 MB / 0.8408 GB, free: 13.16 MB / 0.6075 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.006092/0.706, allocations: 4.122 MB / 0.8448 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.708, allocations: 0.8085 MB / 0.8456 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008417/0.7088, allocations: 393.6 kB / 0.846 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/0.7099, allocations: 1.311 MB / 0.8472 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.7099, allocations: 40.44 kB / 0.8473 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.825e-06/0.7099, allocations: 0 / 0.8473 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005704/0.7157, allocations: 1.926 MB / 0.8492 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.7157, allocations: 59.75 kB / 0.8492 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.7168, allocations: 0.8016 MB / 0.85 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.188e-05/0.7169, allocations: 40.3 kB / 0.85 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.7173, allocations: 0.5123 MB / 0.8505 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.7175, allocations: 295.3 kB / 0.8508 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.7178, allocations: 149 kB / 0.851 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.7179, allocations: 349.8 kB / 0.8513 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007159/0.7187, allocations: 306.9 kB / 0.8516 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000781/0.7194, allocations: 387.8 kB / 0.852 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.721, allocations: 0.6869 MB / 0.8526 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.721, allocations: 0 / 0.8526 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003473/0.7245, allocations: 1.233 MB / 0.8538 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.7245, allocations: 8 kB / 0.8538 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7245, allocations: 8 kB / 0.8538 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009449/0.7254, allocations: 244.8 kB / 0.8541 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.7265, allocations: 199.6 kB / 0.8543 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006861/0.7333, allocations: 5.232 MB / 0.8594 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008832/0.7342, allocations: 91.47 kB / 0.8595 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.7343, allocations: 51.97 kB / 0.8595 GB, free: 12.75 MB / 0.6231 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 (82): * Single equations (assignments): 79 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004951/0.7348, allocations: 221.4 kB / 0.8597 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.7351, allocations: 111.2 kB / 0.8598 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/0.7396, allocations: 1.842 MB / 0.8616 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.7396, allocations: 8 kB / 0.8616 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7396, allocations: 0.625 kB / 0.8616 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.7396, allocations: 3.984 kB / 0.8616 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005544/0.7452, allocations: 2.492 MB / 0.8641 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.7452, allocations: 12.09 kB / 0.8641 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.7463, allocations: 196.3 kB / 0.8643 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008547/0.7471, allocations: 246.8 kB / 0.8645 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.661e-05/0.7472, allocations: 35.92 kB / 0.8645 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006844/0.7541, allocations: 5.239 MB / 0.8697 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.7541, allocations: 4.031 kB / 0.8697 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/0.7585, allocations: 1.726 MB / 0.8713 GB, free: 152 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.759, allocations: 264.3 kB / 0.8716 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.7591, allocations: 20.06 kB / 0.8716 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/0.7597, allocations: 43.97 kB / 0.8717 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.7599, allocations: 72.89 kB / 0.8717 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-05/0.76, allocations: 51.98 kB / 0.8718 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000811/0.7608, allocations: 0.5564 MB / 0.8723 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7608, allocations: 4 kB / 0.8723 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001508/0.7623, allocations: 481.4 kB / 0.8728 GB, free: 14.65 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.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 (78): * Single equations (assignments): 75 * 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%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.7635, allocations: 0.5766 MB / 0.8734 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002969/0.7665, allocations: 1.199 MB / 0.8745 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.7665, allocations: 0 / 0.8745 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.7684, allocations: 0.8762 MB / 0.8754 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.7699, allocations: 275.2 kB / 0.8756 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/0.7747, allocations: 2.386 MB / 0.878 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/0.7755, allocations: 1.072 MB / 0.879 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001523/0.777, allocations: 0.6485 MB / 0.8797 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/0.7775, allocations: 155.3 kB / 0.8798 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.7775, allocations: 0 / 0.8798 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of Templates: time 0.03809/0.8156, allocations: 19.94 MB / 0.8993 GB, free: 3.676 MB / 0.6544 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -s gbode -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches