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.007429/0.007429, allocations: 102 kB / 15.73 MB, free: 6.055 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.001727/0.001727, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.443/1.443, allocations: 222.9 MB / 240.4 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.7667/0.7667, allocations: 91.18 MB / 381.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 83.88 kB / 0.5168 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3651, allocations: 67.69 MB / 0.5829 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.6282/0.9934, allocations: 201.8 MB / 0.78 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01674/1.01, allocations: 14.83 MB / 0.7945 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/1.012, allocations: 40.88 kB / 0.7946 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002046/1.014, allocations: 0.5187 MB / 0.7951 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00451/1.019, allocations: 1.326 MB / 0.7964 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003893/1.023, allocations: 1.395 MB / 0.7977 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002091/1.025, allocations: 1.346 MB / 0.799 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005751/1.025, allocations: 266.4 kB / 0.7993 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/1.028, allocations: 1.083 MB / 0.8004 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007655/1.028, allocations: 0.4995 MB / 0.8008 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002221/1.029, allocations: 77.47 kB / 0.8009 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004865/1.033, allocations: 2.508 MB / 0.8034 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/1.034, allocations: 204.9 kB / 0.8036 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006891/1.034, allocations: 0.4966 MB / 0.8041 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004307/1.039, allocations: 1.875 MB / 0.8059 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.039, allocations: 0 / 0.8059 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.864e-06/1.039, allocations: 2.781 kB / 0.8059 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.026e-05/1.039, allocations: 0 / 0.8059 GB, free: 15.93 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.003851/1.043, allocations: 1.527 MB / 0.8074 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.043, allocations: 8.469 kB / 0.8074 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/1.045, allocations: 235.8 kB / 0.8076 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/1.046, allocations: 0.7703 MB / 0.8084 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/1.047, allocations: 184.2 kB / 0.8085 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/1.047, allocations: 78.06 kB / 0.8086 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/1.049, allocations: 0.8249 MB / 0.8094 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/1.049, allocations: 3.094 kB / 0.8094 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/1.049, allocations: 30.28 kB / 0.8094 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/1.049, allocations: 16.28 kB / 0.8095 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/1.05, allocations: 0.6423 MB / 0.8101 GB, free: 14.48 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.004846/1.055, allocations: 3.221 MB / 0.8132 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/1.057, allocations: 0.5913 MB / 0.8138 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006801/1.057, allocations: 359.3 kB / 0.8142 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006746/1.058, allocations: 0.8957 MB / 0.815 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/1.058, allocations: 37.59 kB / 0.8151 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.665e-06/1.058, allocations: 0 / 0.8151 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.004612/1.063, allocations: 1.683 MB / 0.8167 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.063, allocations: 57.31 kB / 0.8168 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/1.064, allocations: 0.646 MB / 0.8174 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/1.064, allocations: 36.36 kB / 0.8174 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/1.064, allocations: 430.1 kB / 0.8178 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/1.064, allocations: 201.7 kB / 0.818 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/1.064, allocations: 107.2 kB / 0.8181 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.065, allocations: 331.3 kB / 0.8185 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006483/1.065, allocations: 253.6 kB / 0.8187 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/1.066, allocations: 261.9 kB / 0.8189 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/1.067, allocations: 0.5236 MB / 0.8195 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.067, allocations: 4 kB / 0.8195 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002754/1.07, allocations: 1.015 MB / 0.8204 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.07, allocations: 2.812 kB / 0.8205 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.07, allocations: 3.984 kB / 0.8205 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000815/1.071, allocations: 230.8 kB / 0.8207 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/1.072, allocations: 146.8 kB / 0.8208 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/1.077, allocations: 5.094 MB / 0.8258 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006608/1.078, allocations: 73.69 kB / 0.8259 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/1.078, allocations: 34.55 kB / 0.8259 GB, free: 3.031 MB / 0.5919 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.0004599/1.079, allocations: 201.8 kB / 0.8261 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/1.079, allocations: 82.78 kB / 0.8262 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/1.083, allocations: 1.424 MB / 0.8276 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.083, allocations: 11.94 kB / 0.8276 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.083, allocations: 3.938 kB / 0.8276 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.083, allocations: 7.984 kB / 0.8276 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004474/1.087, allocations: 2.082 MB / 0.8296 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/1.087, allocations: 7.188 kB / 0.8296 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/1.088, allocations: 135 kB / 0.8297 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007559/1.089, allocations: 237.6 kB / 0.83 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/1.089, allocations: 23.98 kB / 0.83 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006105/1.095, allocations: 5.1 MB / 0.835 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/1.095, allocations: 4 kB / 0.835 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003685/1.099, allocations: 1.415 MB / 0.8364 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/1.099, allocations: 207.9 kB / 0.8366 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/1.099, allocations: 15.94 kB / 0.8366 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/1.1, allocations: 39.95 kB / 0.8366 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.1, allocations: 51.69 kB / 0.8367 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-05/1.1, allocations: 39.98 kB / 0.8367 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007167/1.101, allocations: 479 kB / 0.8372 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/1.101, allocations: 0 / 0.8372 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001364/1.102, allocations: 367.3 kB / 0.8375 GB, free: 7.25 MB / 0.6075 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.001034/1.103, allocations: 491.2 kB / 0.838 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002544/1.106, allocations: 1.067 MB / 0.839 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.106, allocations: 0 / 0.839 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/1.107, allocations: 0.7968 MB / 0.8398 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/1.108, allocations: 210.3 kB / 0.84 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/1.112, allocations: 1.816 MB / 0.8418 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/1.113, allocations: 0.9853 MB / 0.8427 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009511/1.114, allocations: 445.5 kB / 0.8432 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/1.114, allocations: 107.4 kB / 0.8433 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of SimCode: time 2.034e-06/1.114, allocations: 0 / 0.8433 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of Templates: time 0.03346/1.148, allocations: 15.92 MB / 0.8588 GB, free: 1.559 MB / 0.6231 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