Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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) 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_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009503/0.0009503, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.292/1.292, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6081/0.6081, allocations: 89.63 MB / 381.7 MB, free: 11.3 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 10.78 kB / 461.3 MB, free: 24.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1054, allocations: 68.83 MB / 0.5177 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4167/0.5221, allocations: 197.3 MB / 0.7104 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.5385, allocations: 14.66 MB / 0.7247 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000829/0.5394, allocations: 15.94 kB / 0.7247 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.5408, allocations: 453.6 kB / 0.7251 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003066/0.5439, allocations: 1.128 MB / 0.7262 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003222/0.5471, allocations: 1.212 MB / 0.7274 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.5487, allocations: 1.359 MB / 0.7287 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.5491, allocations: 229.1 kB / 0.7289 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.551, allocations: 0.9499 MB / 0.7299 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005812/0.5516, allocations: 445.8 kB / 0.7303 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.5517, allocations: 47.94 kB / 0.7303 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004469/0.5562, allocations: 2.577 MB / 0.7329 GB, free: 15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.5564, allocations: 147.3 kB / 0.733 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004482/0.5568, allocations: 447.3 kB / 0.7334 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.5588, allocations: 1.22 MB / 0.7346 GB, free: 13.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5588, allocations: 4 kB / 0.7346 GB, free: 13.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5588, allocations: 0 / 0.7346 GB, free: 13.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.138e-05/0.5588, allocations: 0 / 0.7346 GB, free: 13.19 MB / 0.545 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.002537/0.5614, allocations: 1.232 MB / 0.7358 GB, free: 11.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5614, allocations: 15.97 kB / 0.7358 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.5631, allocations: 218.6 kB / 0.7361 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.5639, allocations: 0.5215 MB / 0.7366 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.5641, allocations: 200.7 kB / 0.7368 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.5643, allocations: 75.91 kB / 0.7368 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.566, allocations: 0.8492 MB / 0.7377 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.5661, allocations: 0 / 0.7377 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/0.5661, allocations: 28 kB / 0.7377 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.5662, allocations: 20 kB / 0.7377 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.5677, allocations: 0.6753 MB / 0.7384 GB, free: 9.23 MB / 0.545 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.00416/0.5718, allocations: 3.206 MB / 0.7415 GB, free: 5.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.5733, allocations: 0.6278 MB / 0.7421 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000765/0.574, allocations: 374.4 kB / 0.7425 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006063/0.5747, allocations: 0.8952 MB / 0.7433 GB, free: 3.637 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.5747, allocations: 43.12 kB / 0.7434 GB, free: 3.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.425e-06/0.5747, allocations: 0 / 0.7434 GB, free: 3.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.005167/0.5799, allocations: 1.874 MB / 0.7452 GB, free: 1.637 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.5799, allocations: 59.97 kB / 0.7453 GB, free: 1.566 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/0.5806, allocations: 0.4991 MB / 0.7457 GB, free: 1.059 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.5806, allocations: 37.7 kB / 0.7458 GB, free: 1.016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.5809, allocations: 364.2 kB / 0.7461 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.581, allocations: 205 kB / 0.7463 GB, free: 464 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.5811, allocations: 45.7 kB / 0.7464 GB, free: 412 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5813, allocations: 370.8 kB / 0.7467 GB, free: 32 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007052/0.582, allocations: 281 kB / 0.747 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/0.5827, allocations: 288.9 kB / 0.7473 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.584, allocations: 0.5741 MB / 0.7478 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5841, allocations: 0 / 0.7478 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002998/0.5871, allocations: 1.117 MB / 0.7489 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5871, allocations: 11.94 kB / 0.7489 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5871, allocations: 0 / 0.7489 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008986/0.588, allocations: 270.3 kB / 0.7492 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/0.5888, allocations: 151.8 kB / 0.7493 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006141/0.5949, allocations: 4.931 MB / 0.7541 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006268/0.5956, allocations: 91.44 kB / 0.7542 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.641e-05/0.5957, allocations: 35.98 kB / 0.7543 GB, free: 7.879 MB / 0.5606 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.0003283/0.596, allocations: 197.6 kB / 0.7545 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.5962, allocations: 59.25 kB / 0.7545 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.6001, allocations: 1.521 MB / 0.756 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.6001, allocations: 7.938 kB / 0.756 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.6001, allocations: 7.938 kB / 0.756 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.6001, allocations: 3.984 kB / 0.756 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/0.6048, allocations: 2.18 MB / 0.7581 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.6048, allocations: 0 / 0.7581 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.6056, allocations: 139.8 kB / 0.7583 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008454/0.6064, allocations: 270.4 kB / 0.7585 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.6065, allocations: 27.92 kB / 0.7586 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005832/0.6124, allocations: 4.919 MB / 0.7634 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6124, allocations: 0 / 0.7634 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/0.616, allocations: 1.542 MB / 0.7649 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.6164, allocations: 204.2 kB / 0.7651 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.6165, allocations: 16 kB / 0.7651 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/0.617, allocations: 59.89 kB / 0.7651 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.6172, allocations: 60.48 kB / 0.7652 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.6172, allocations: 31.98 kB / 0.7652 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004675/0.6177, allocations: 374.8 kB / 0.7656 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6177, allocations: 0 / 0.7656 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001087/0.6188, allocations: 367.2 kB / 0.7659 GB, free: 11.32 MB / 0.5762 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.001017/0.6198, allocations: 0.4954 MB / 0.7664 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002568/0.6224, allocations: 1.148 MB / 0.7675 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6224, allocations: 0 / 0.7675 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.6241, allocations: 0.8625 MB / 0.7684 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.6253, allocations: 167.2 kB / 0.7685 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/0.6286, allocations: 2.141 MB / 0.7706 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.6292, allocations: 0.9419 MB / 0.7716 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.6296, allocations: 123.3 kB / 0.7717 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.6297, allocations: 0 / 0.7717 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of Templates: time 0.02682/0.6565, allocations: 22.88 MB / 0.794 GB, free: 14.46 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches