Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 111.7 kB / 16.41 MB, free: 6.488 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.00127/0.00127, allocations: 187 kB / 17.34 MB, free: 5.762 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7268/0.7268, allocations: 91.2 MB / 382.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 75.88 kB / 0.5175 GB, free: 4.148 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3597, allocations: 67.68 MB / 0.5836 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.6017/0.9614, allocations: 201.8 MB / 0.7807 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01422/0.9757, allocations: 15.03 MB / 0.7954 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.9772, allocations: 39.59 kB / 0.7954 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.9787, allocations: 0.5245 MB / 0.7959 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.9825, allocations: 1.31 MB / 0.7972 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.9863, allocations: 1.471 MB / 0.7986 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.988, allocations: 1.352 MB / 0.8 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.9884, allocations: 269.7 kB / 0.8002 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/0.9903, allocations: 1.068 MB / 0.8013 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.9908, allocations: 0.5071 MB / 0.8018 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.9909, allocations: 77.72 kB / 0.8018 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004889/0.9958, allocations: 2.612 MB / 0.8044 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.996, allocations: 203.8 kB / 0.8046 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.9964, allocations: 0.5017 MB / 0.8051 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.9997, allocations: 1.947 MB / 0.807 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9997, allocations: 0 / 0.807 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9997, allocations: 0 / 0.807 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.9998, allocations: 0 / 0.807 GB, free: 15.95 MB / 0.5919 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.002802/1.003, allocations: 1.55 MB / 0.8085 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.003, allocations: 8.938 kB / 0.8085 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/1.004, allocations: 239.4 kB / 0.8087 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/1.006, allocations: 0.7696 MB / 0.8095 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/1.006, allocations: 181.8 kB / 0.8096 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/1.006, allocations: 78.98 kB / 0.8097 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/1.007, allocations: 0.8239 MB / 0.8105 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/1.007, allocations: 0 / 0.8105 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/1.007, allocations: 28.41 kB / 0.8106 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/1.007, allocations: 16.88 kB / 0.8106 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/1.009, allocations: 0.6604 MB / 0.8112 GB, free: 14.5 MB / 0.5919 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.004108/1.013, allocations: 3.176 MB / 0.8143 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/1.014, allocations: 0.5981 MB / 0.8149 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006308/1.015, allocations: 346.6 kB / 0.8152 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006049/1.015, allocations: 0.8975 MB / 0.8161 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/1.015, allocations: 37.97 kB / 0.8161 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.465e-06/1.016, allocations: 4 kB / 0.8161 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.004459/1.02, allocations: 1.687 MB / 0.8178 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/1.02, allocations: 61.62 kB / 0.8179 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007843/1.021, allocations: 0.6636 MB / 0.8185 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/1.021, allocations: 34.89 kB / 0.8185 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/1.021, allocations: 443.9 kB / 0.819 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/1.021, allocations: 199 kB / 0.8191 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/1.022, allocations: 115.3 kB / 0.8193 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.022, allocations: 331 kB / 0.8196 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/1.022, allocations: 252.3 kB / 0.8198 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/1.023, allocations: 307.9 kB / 0.8201 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/1.024, allocations: 0.5455 MB / 0.8206 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.024, allocations: 0 / 0.8206 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002521/1.027, allocations: 1.032 MB / 0.8216 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.027, allocations: 11 kB / 0.8217 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/1.027, allocations: 0 / 0.8217 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007481/1.027, allocations: 234.5 kB / 0.8219 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/1.028, allocations: 152.6 kB / 0.822 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005169/1.033, allocations: 5.091 MB / 0.827 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006557/1.034, allocations: 68.95 kB / 0.8271 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.116e-05/1.034, allocations: 36.2 kB / 0.8271 GB, free: 3.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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.0004184/1.035, allocations: 218.5 kB / 0.8273 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/1.035, allocations: 86.22 kB / 0.8274 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/1.038, allocations: 1.398 MB / 0.8288 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.038, allocations: 11.94 kB / 0.8288 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.038, allocations: 0 / 0.8288 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/1.038, allocations: 7.984 kB / 0.8288 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004032/1.042, allocations: 2.07 MB / 0.8308 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.042, allocations: 4.156 kB / 0.8308 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/1.043, allocations: 138.1 kB / 0.8309 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006808/1.044, allocations: 230.3 kB / 0.8312 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/1.044, allocations: 31.92 kB / 0.8312 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005016/1.049, allocations: 5.105 MB / 0.8362 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.049, allocations: 0 / 0.8362 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/1.052, allocations: 1.403 MB / 0.8375 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/1.052, allocations: 207.9 kB / 0.8377 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/1.052, allocations: 19.94 kB / 0.8378 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/1.053, allocations: 43.97 kB / 0.8378 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/1.053, allocations: 52.36 kB / 0.8378 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/1.053, allocations: 31.98 kB / 0.8379 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000565/1.053, allocations: 483 kB / 0.8383 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/1.053, allocations: 0 / 0.8383 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001212/1.055, allocations: 391.3 kB / 0.8387 GB, free: 7.164 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.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 (50): * Single equations (assignments): 47 * 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.0009709/1.056, allocations: 0.5162 MB / 0.8392 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002194/1.058, allocations: 1.062 MB / 0.8403 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.058, allocations: 0 / 0.8403 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/1.059, allocations: 0.7961 MB / 0.841 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/1.06, allocations: 220.1 kB / 0.8412 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/1.063, allocations: 1.828 MB / 0.843 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/1.064, allocations: 0.9893 MB / 0.844 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/1.064, allocations: 131.3 kB / 0.8441 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/1.064, allocations: 0 / 0.8441 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of Templates: time 0.02839/1.093, allocations: 26.44 MB / 0.8699 GB, free: 7.168 MB / 0.6387 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches