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.001833/0.001833, allocations: 106.3 kB / 16.41 MB, free: 6.457 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.00199/0.00199, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7265/0.7265, allocations: 91.19 MB / 382.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 79.88 kB / 0.5175 GB, free: 4.094 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3168, allocations: 67.68 MB / 0.5836 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5143/0.8312, allocations: 201.8 MB / 0.7807 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.8445, allocations: 14.84 MB / 0.7952 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.8458, allocations: 43.94 kB / 0.7952 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.8471, allocations: 0.5081 MB / 0.7957 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003461/0.8506, allocations: 1.311 MB / 0.797 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.854, allocations: 1.388 MB / 0.7984 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.8559, allocations: 1.342 MB / 0.7997 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.8563, allocations: 264.7 kB / 0.7999 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.8583, allocations: 1.067 MB / 0.801 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.8588, allocations: 0.508 MB / 0.8015 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.8589, allocations: 78.94 kB / 0.8015 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004584/0.8635, allocations: 2.512 MB / 0.804 GB, free: 456 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.8638, allocations: 205.9 kB / 0.8042 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000529/0.8643, allocations: 0.493 MB / 0.8047 GB, free: 244 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.8682, allocations: 1.875 MB / 0.8065 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.8682, allocations: 2.25 kB / 0.8065 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8682, allocations: 0 / 0.8065 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.915e-05/0.8683, allocations: 0 / 0.8065 GB, free: 15.96 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.002857/0.8711, allocations: 1.524 MB / 0.808 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.8712, allocations: 12.06 kB / 0.808 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.8729, allocations: 234.8 kB / 0.8082 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.8742, allocations: 0.7687 MB / 0.809 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.8744, allocations: 180.8 kB / 0.8092 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.8746, allocations: 79.5 kB / 0.8092 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.8762, allocations: 0.8227 MB / 0.81 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.8762, allocations: 3.938 kB / 0.81 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/0.8763, allocations: 29.38 kB / 0.8101 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.8763, allocations: 23.02 kB / 0.8101 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.8777, allocations: 0.647 MB / 0.8107 GB, free: 14.51 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.004183/0.8819, allocations: 3.215 MB / 0.8139 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.8832, allocations: 0.6021 MB / 0.8145 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006815/0.8839, allocations: 356.7 kB / 0.8148 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006509/0.8845, allocations: 0.8991 MB / 0.8157 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.8846, allocations: 40.66 kB / 0.8157 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.875e-06/0.8846, allocations: 0 / 0.8157 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.004646/0.8892, allocations: 1.676 MB / 0.8173 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.8893, allocations: 61.97 kB / 0.8174 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007941/0.8901, allocations: 0.6451 MB / 0.818 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-05/0.8902, allocations: 39.42 kB / 0.8181 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.8904, allocations: 426.2 kB / 0.8185 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.8906, allocations: 200.7 kB / 0.8187 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.8908, allocations: 113 kB / 0.8188 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8909, allocations: 327.1 kB / 0.8191 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006185/0.8916, allocations: 252.9 kB / 0.8193 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/0.8922, allocations: 257.6 kB / 0.8196 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.8934, allocations: 0.5219 MB / 0.8201 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8935, allocations: 4 kB / 0.8201 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002723/0.8962, allocations: 1.015 MB / 0.8211 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.8962, allocations: 9.219 kB / 0.8211 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8962, allocations: 0 / 0.8211 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007807/0.897, allocations: 230.2 kB / 0.8213 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.8978, allocations: 145.6 kB / 0.8214 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/0.9034, allocations: 5.095 MB / 0.8264 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007153/0.9042, allocations: 68.45 kB / 0.8265 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.648e-05/0.9043, allocations: 40.11 kB / 0.8265 GB, free: 3.156 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.000434/0.9047, allocations: 205.2 kB / 0.8267 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.9049, allocations: 81.47 kB / 0.8268 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/0.9083, allocations: 1.411 MB / 0.8282 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.9083, allocations: 8 kB / 0.8282 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.9084, allocations: 7.938 kB / 0.8282 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.9084, allocations: 7.922 kB / 0.8282 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004239/0.9126, allocations: 2.088 MB / 0.8302 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.9126, allocations: 0 / 0.8302 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.9134, allocations: 138.2 kB / 0.8304 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007562/0.9142, allocations: 234.5 kB / 0.8306 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/0.9143, allocations: 27.98 kB / 0.8306 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005918/0.9202, allocations: 5.104 MB / 0.8356 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.9202, allocations: 7.188 kB / 0.8356 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/0.924, allocations: 1.415 MB / 0.837 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.9245, allocations: 211.9 kB / 0.8372 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.9247, allocations: 19.92 kB / 0.8372 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/0.9253, allocations: 35.97 kB / 0.8373 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.9254, allocations: 52.48 kB / 0.8373 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/0.9255, allocations: 31.98 kB / 0.8373 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006907/0.9262, allocations: 471 kB / 0.8378 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.156e-06/0.9262, allocations: 0 / 0.8378 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001271/0.9275, allocations: 375.2 kB / 0.8381 GB, free: 7.383 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.001097/0.9286, allocations: 496.7 kB / 0.8386 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002569/0.9312, allocations: 1.071 MB / 0.8397 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9312, allocations: 0 / 0.8397 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.9329, allocations: 0.7968 MB / 0.8404 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.9342, allocations: 205.1 kB / 0.8406 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.9379, allocations: 1.836 MB / 0.8424 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/0.9387, allocations: 1.001 MB / 0.8434 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/0.9393, allocations: 131.4 kB / 0.8435 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.9393, allocations: 0 / 0.8435 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of Templates: time 0.03135/0.9707, allocations: 26.1 MB / 0.869 GB, free: 7.738 MB / 0.6387 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