Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.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.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|Time|conductionElementHEX_twoPhase.h|conductionElementHEX_twoPhase.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase") translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|Time|conductionElementHEX_twoPhase.h|conductionElementHEX_twoPhase.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 113.4 kB / 16.42 MB, free: 6.453 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.001624/0.001624, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7057/0.7057, allocations: 91.18 MB / 382.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 79.88 kB / 0.5175 GB, free: 4.094 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.285, allocations: 67.68 MB / 0.5836 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase): time 0.03319/0.3183, allocations: 36.98 MB / 0.6197 GB, free: 9.012 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.04002/0.3583, allocations: 39.43 MB / 0.6582 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007878/0.3591, allocations: 27.81 kB / 0.6583 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.3606, allocations: 0.5477 MB / 0.6588 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.3707, allocations: 3.822 MB / 0.6625 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.3814, allocations: 4.016 MB / 0.6664 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001708/0.3832, allocations: 1.295 MB / 0.6677 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004556/0.3836, allocations: 264.6 kB / 0.668 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.3847, allocations: 0.568 MB / 0.6685 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007156/0.3855, allocations: 497.7 kB / 0.669 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.3856, allocations: 68 kB / 0.6691 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03062/0.4163, allocations: 15.7 MB / 0.6844 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.4166, allocations: 163.3 kB / 0.6845 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007255/0.4173, allocations: 461.6 kB / 0.685 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0512/0.4685, allocations: 18.65 MB / 0.7032 GB, free: 3.297 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.4686, allocations: 0 / 0.7032 GB, free: 3.297 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.664e-06/0.4686, allocations: 0 / 0.7032 GB, free: 3.297 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.854e-05/0.4686, allocations: 3.938 kB / 0.7032 GB, free: 3.293 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.01052/0.4792, allocations: 2.019 MB / 0.7052 GB, free: 1.223 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4792, allocations: 8.031 kB / 0.7052 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009662/0.4802, allocations: 190.7 kB / 0.7054 GB, free: 1.027 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.4812, allocations: 0.5682 MB / 0.7059 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.4813, allocations: 49.25 kB / 0.706 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.4815, allocations: 64 kB / 0.706 GB, free: 312 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.483, allocations: 0.7692 MB / 0.7068 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.4831, allocations: 4 kB / 0.7068 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/0.4831, allocations: 20 kB / 0.7068 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.4832, allocations: 27.98 kB / 0.7068 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.4846, allocations: 0.6109 MB / 0.7074 GB, free: 14.85 MB / 0.5606 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.004581/0.4892, allocations: 4.251 MB / 0.7116 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.4904, allocations: 464 kB / 0.712 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.491, allocations: 302.5 kB / 0.7123 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008238/0.4993, allocations: 7.059 MB / 0.7192 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.4993, allocations: 39 kB / 0.7192 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 3.557e-06/0.4993, allocations: 0 / 0.7192 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.002637/0.502, allocations: 1.009 MB / 0.7202 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.502, allocations: 81.55 kB / 0.7203 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.5026, allocations: 458.7 kB / 0.7207 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.5026, allocations: 33.64 kB / 0.7208 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.5029, allocations: 344.3 kB / 0.7211 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.5031, allocations: 256.2 kB / 0.7213 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.5033, allocations: 130.1 kB / 0.7215 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5035, allocations: 378.7 kB / 0.7218 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.5041, allocations: 243.4 kB / 0.7221 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.5048, allocations: 328.2 kB / 0.7224 GB, free: 13.54 MB / 0.5762 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElementHEX_twoPhase.deltaE_system = $START.conductionElementHEX_twoPhase.deltaE_system (0.0 = $START.conductionElementHEX_twoPhase.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.5062, allocations: 0.6727 MB / 0.723 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5062, allocations: 0 / 0.723 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001677/0.5079, allocations: 0.7362 MB / 0.7237 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.5079, allocations: 12.16 kB / 0.7238 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.5079, allocations: 4 kB / 0.7238 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.5081, allocations: 44.83 kB / 0.7238 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.5086, allocations: 107.9 kB / 0.7239 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.51, allocations: 1.532 MB / 0.7254 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.5105, allocations: 67.41 kB / 0.7255 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.5105, allocations: 27.92 kB / 0.7255 GB, free: 10.14 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElementHEX_twoPhase.deltaE_system = $START.conductionElementHEX_twoPhase.deltaE_system. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007387/0.5113, allocations: 377.6 kB / 0.7259 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006031/0.5119, allocations: 320.2 kB / 0.7262 GB, free: 9.426 MB / 0.5762 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElementHEX_twoPhase.deltaE_system = $START.conductionElementHEX_twoPhase.deltaE_system (0.0 = $START.conductionElementHEX_twoPhase.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001269/0.5132, allocations: 0.6492 MB / 0.7268 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.5132, allocations: 4 kB / 0.7268 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization_lambda0): time 0.001543/0.5147, allocations: 0.7129 MB / 0.7275 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5148, allocations: 8 kB / 0.7275 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5148, allocations: 3.938 kB / 0.7275 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.5149, allocations: 49.05 kB / 0.7276 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.5154, allocations: 103.9 kB / 0.7277 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.5166, allocations: 1.535 MB / 0.7292 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.517, allocations: 63.48 kB / 0.7292 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/0.5171, allocations: 23.98 kB / 0.7292 GB, free: 6.086 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: conductionElementHEX_twoPhase.deltaE_system = $START.conductionElementHEX_twoPhase.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (multiSensor_Tpm.state.phase,multiSensor_Tpm.fore.state_forwards.phase,multiSensor_Tpm.rear.state_rearwards.phase,flowResistance.fore.state_forwards.phase,flowResistance.fore.state_rearwards.phase,boundary_rear.fore.state_forwards.phase,boundary_rear.fore.state_rearwards.phase,conductionElementHEX_twoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.5173, allocations: 219.6 kB / 0.7294 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.5175, allocations: 75.28 kB / 0.7295 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.5198, allocations: 1.127 MB / 0.7306 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.5198, allocations: 4 kB / 0.7306 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5198, allocations: 0 / 0.7306 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.5201, allocations: 227.7 kB / 0.7308 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.5202, allocations: 12 kB / 0.7308 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.5206, allocations: 31.97 kB / 0.7309 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5207, allocations: 40.5 kB / 0.7309 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002296/0.523, allocations: 1.081 MB / 0.732 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002654/0.5257, allocations: 1.625 MB / 0.7336 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007577/0.5265, allocations: 460.8 kB / 0.734 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003439/0.5268, allocations: 318.9 kB / 0.7343 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of Backend: time 3.61e-07/0.5268, allocations: 0 / 0.7343 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.06882/0.5957, allocations: 16.54 MB / 0.7505 GB, free: 172 kB / 0.5919 GB Notification: Performance of SimCode: time 0.2606/0.8563, allocations: 2.493 MB / 0.7529 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.06497/0.9213, allocations: 54.97 MB / 0.8066 GB, free: 100.1 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.sim & ./ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches