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.001333/0.001333, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001394/0.001394, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7771/0.7771, allocations: 89.64 MB / 380.7 MB, free: 11.41 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.000398, allocations: 8.375 kB / 460 MB, free: 24.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1516, allocations: 68.83 MB / 0.5165 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5568/0.7085, allocations: 184.1 MB / 0.6962 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.727, allocations: 13.71 MB / 0.7096 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.7283, allocations: 23.88 kB / 0.7096 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.7299, allocations: 425.5 kB / 0.71 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.7338, allocations: 1.096 MB / 0.7111 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00346/0.7373, allocations: 1.076 MB / 0.7121 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.739, allocations: 1.234 MB / 0.7133 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004586/0.7395, allocations: 204.7 kB / 0.7135 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.7416, allocations: 0.8957 MB / 0.7144 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007001/0.7423, allocations: 426 kB / 0.7148 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.7425, allocations: 40 kB / 0.7148 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005269/0.7477, allocations: 2.345 MB / 0.7171 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.748, allocations: 147.3 kB / 0.7173 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.7483, allocations: 189.2 kB / 0.7175 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.7507, allocations: 1.169 MB / 0.7186 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.7507, allocations: 0 / 0.7186 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.063e-06/0.7508, allocations: 7.984 kB / 0.7186 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.45e-05/0.7508, allocations: 3.938 kB / 0.7186 GB, free: 13.02 MB / 0.5294 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.003049/0.7539, allocations: 1.232 MB / 0.7198 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.7539, allocations: 12.03 kB / 0.7198 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.7556, allocations: 222.6 kB / 0.72 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/0.7566, allocations: 0.5063 MB / 0.7205 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/0.7568, allocations: 192.7 kB / 0.7207 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.757, allocations: 72 kB / 0.7208 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.7588, allocations: 0.8453 MB / 0.7216 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.7588, allocations: 0.875 kB / 0.7216 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.7589, allocations: 28 kB / 0.7216 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.759, allocations: 20 kB / 0.7217 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.7604, allocations: 0.6676 MB / 0.7223 GB, free: 9.098 MB / 0.5294 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.004304/0.7647, allocations: 3.209 MB / 0.7254 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.766, allocations: 0.6239 MB / 0.7261 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006806/0.7667, allocations: 378.3 kB / 0.7264 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006353/0.7674, allocations: 0.8991 MB / 0.7273 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.7674, allocations: 39.12 kB / 0.7273 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.735e-06/0.7674, allocations: 0 / 0.7273 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.004624/0.7721, allocations: 1.874 MB / 0.7292 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.7721, allocations: 63.89 kB / 0.7292 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006289/0.7728, allocations: 0.4952 MB / 0.7297 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/0.7728, allocations: 33.7 kB / 0.7297 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.7731, allocations: 364.2 kB / 0.7301 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.7733, allocations: 201 kB / 0.7303 GB, free: 324 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.7733, allocations: 11.94 kB / 0.7303 GB, free: 312 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.7735, allocations: 374.8 kB / 0.7306 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/0.7741, allocations: 277 kB / 0.7309 GB, free: 15.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.7747, allocations: 284.9 kB / 0.7312 GB, free: 15.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.7753, allocations: 286.1 kB / 0.7315 GB, free: 15.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7753, allocations: 0 / 0.7315 GB, free: 15.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002552/0.7779, allocations: 1.113 MB / 0.7325 GB, free: 13.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.7779, allocations: 4 kB / 0.7325 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.7779, allocations: 3.562 kB / 0.7325 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008333/0.7788, allocations: 266.3 kB / 0.7328 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/0.7795, allocations: 159.8 kB / 0.733 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/0.7852, allocations: 4.912 MB / 0.7378 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.7858, allocations: 87.98 kB / 0.7378 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.821e-05/0.7859, allocations: 35.98 kB / 0.7379 GB, free: 8.109 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003443/0.7863, allocations: 181.8 kB / 0.738 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.7864, allocations: 67.16 kB / 0.7381 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003658/0.7901, allocations: 1.53 MB / 0.7396 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.7901, allocations: 10.56 kB / 0.7396 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7902, allocations: 0 / 0.7396 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.7902, allocations: 3.984 kB / 0.7396 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004634/0.7948, allocations: 2.168 MB / 0.7417 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.7948, allocations: 0 / 0.7417 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007232/0.7956, allocations: 143.8 kB / 0.7419 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008081/0.7964, allocations: 270.5 kB / 0.7421 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/0.7965, allocations: 27.98 kB / 0.7422 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005469/0.802, allocations: 4.916 MB / 0.747 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.802, allocations: 7.938 kB / 0.747 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.8054, allocations: 1.526 MB / 0.7485 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.8058, allocations: 204.1 kB / 0.7486 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.806, allocations: 15.95 kB / 0.7487 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.8065, allocations: 63.94 kB / 0.7487 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.8067, allocations: 48.5 kB / 0.7488 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.8067, allocations: 43.92 kB / 0.7488 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005067/0.8073, allocations: 366.8 kB / 0.7492 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8073, allocations: 3.938 kB / 0.7492 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001258/0.8085, allocations: 367.2 kB / 0.7495 GB, free: 11.58 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/0.8096, allocations: 495.8 kB / 0.75 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00231/0.8119, allocations: 1.148 MB / 0.7511 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8119, allocations: 0 / 0.7511 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.8134, allocations: 0.8625 MB / 0.752 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009748/0.8144, allocations: 168 kB / 0.7521 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.8177, allocations: 2.048 MB / 0.7541 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.8182, allocations: 0.938 MB / 0.755 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001083/0.8193, allocations: 428.2 kB / 0.7554 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.8196, allocations: 95.38 kB / 0.7555 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.8196, allocations: 0 / 0.7555 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of Templates: time 0.02605/0.8457, allocations: 14.46 MB / 0.7697 GB, free: 6.93 MB / 0.5762 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches